[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#281863: glibc-doc: sbrk returns 'void *' and not 'int'



Package: glibc-doc
Version: 2.3.2.ds1-18
Severity: normal

file:///usr/share/doc/glibc-doc/html/libc_3.html#SEC59

libc.info(Resizing the Data Segment) (I hope that is the correct way to 
refer to a node in an info file).

This section claims that the prototype for the sbrk function is:

	int sbrk (ptrdiff_t delta)

In fact, the header declares it as:

	extern void *sbrk (intptr_t __delta) __THROW;

Particularly the return type should be fixed.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)

-- no debconf information



Reply to: