freebsd-nq/lib/libc/sys
David Malone 98d1592458 Change brk's prototype from char *brk(const char *) to int brk(const void *)
and sbrk's prototype from char *sbrk(int) to void *sbrk(intptr_t).

This makes us more consistant with NetBSD and standards which include
these functions. Bruce pointed out that ptrdiff_t would probably
have been better than intptr_t, but this doesn't match other
implimentations.

Also remove local declarations of sbrk and unnecessary casting.

PR:		32296
Tested by:	Harti Brandt <brandt@fokus.gmd.de>
MFC after:	1 month
2002-01-24 12:11:31 +00:00
..
__error.c
_exit.2
accept.2 Nuke the paragraph that says "One can obtain user connection request 2002-01-07 06:10:37 +00:00
access.2
acct.2
adjtime.2
aio_cancel.2
aio_error.2
aio_read.2
aio_return.2
aio_suspend.2
aio_waitcomplete.2
aio_write.2 Fix reference to aio_read, should be aio_write 2001-10-16 00:49:19 +00:00
bind.2 - There is no such thing as a socket structure. sockets are integers. 2001-11-05 18:05:56 +00:00
brk.2 Change brk's prototype from char *brk(const char *) to int brk(const void *) 2002-01-24 12:11:31 +00:00
chdir.2
chflags.2
chmod.2 Fix a typo. 2001-12-07 14:58:41 +00:00
chown.2
chroot.2 Add xref to jail(2). 2001-12-28 09:26:45 +00:00
clock_gettime.2
close.2 Remove the internal implementation details of wrapping syscalls, 2001-10-26 17:38:20 +00:00
connect.2 Remove the internal implementation details of wrapping syscalls, 2001-10-26 17:38:20 +00:00
dup.2 Remove the internal implementation details of wrapping syscalls, 2001-10-26 17:38:20 +00:00
execve.2 mdoc(7) police: markup the previous delta. 2001-12-04 16:09:27 +00:00
extattr_get_file.2
fcntl.2 Remove the internal implementation details of wrapping syscalls, 2001-10-26 17:38:20 +00:00
fhopen.2
flock.2 Remove the internal implementation details of wrapping syscalls, 2001-10-26 17:38:20 +00:00
fork.2 Document behaviour with respect to interval timers. 2002-01-09 14:44:06 +00:00
fsync.2 Remove the internal implementation details of wrapping syscalls, 2001-10-26 17:38:20 +00:00
ftruncate.c
getdirentries.2 Remove the internal implementation details of wrapping syscalls, 2001-10-26 17:38:20 +00:00
getdtablesize.2
getfh.2
getfsstat.2
getgid.2
getgroups.2
getitimer.2
getlogin.2
getpeername.2 Remove the internal implementation details of wrapping syscalls, 2001-10-26 17:38:20 +00:00
getpgrp.2
getpid.2
getpriority.2
getrlimit.2
getrusage.2
getsid.2
getsockname.2 Remove the internal implementation details of wrapping syscalls, 2001-10-26 17:38:20 +00:00
getsockopt.2 Minor grammar and punctuation fixes 2002-01-04 18:17:07 +00:00
gettimeofday.2 Add xref for timeradd(3). 2002-01-14 00:38:41 +00:00
getuid.2
intro.2
ioctl.2 Remove the internal implementation details of wrapping syscalls, 2001-10-26 17:38:20 +00:00
issetugid.2
jail.2
kill.2
kldfind.2
kldfirstmod.2
kldload.2
kldnext.2
kldstat.2
kldsym.2
kldunload.2
kqueue.2
ktrace.2
link.2 Refer to chflags(2) instead of chflags(1) (since we're a section 2 2001-10-23 00:54:58 +00:00
listen.2 Remove the internal implementation details of wrapping syscalls, 2001-10-26 17:38:20 +00:00
lseek.2
lseek.c
madvise.2
Makefile.inc
mincore.2 Note that the manpage is incorrect about the vector argument. 2001-11-09 01:01:50 +00:00
minherit.2
mkdir.2
mkfifo.2
mknod.2
mlock.2
mmap.2 The VM_STACK option is long dead. MAP_STACK is available everywhere. 2001-12-21 17:24:10 +00:00
mmap.c
modfind.2
modnext.2
modstat.2
mount.2
mprotect.2
msync.2
munmap.2 We are munmap(2), so there's no need to list ourselves in the SEE ALSO 2002-01-07 06:12:25 +00:00
nanosleep.2
nfssvc.2
open.2 Fix the description of the O_NONBLOCK flag to match reality. 2002-01-22 14:18:55 +00:00
pathconf.2
pipe.2
poll.2
pread.c
profil.2
ptrace.2
pwrite.c
quotactl.2
read.2 Remove the internal implementation details of wrapping syscalls, 2001-10-26 17:38:20 +00:00
readlink.2
reboot.2
recv.2
rename.2 Bump p1003.1-90 to p1003.1-96. 2001-11-29 03:21:16 +00:00
revoke.2
rfork.2 Document that rfork() will return EINVAL if flags not listed in the 2001-12-19 00:59:54 +00:00
rmdir.2
rtprio.2
sched_get_priority_max.2
sched_setparam.2
sched_setscheduler.2
sched_yield.2
select.2
semctl.2
semget.2
semop.2 mdoc(7) police: general cleanup. 2001-11-21 15:41:49 +00:00
send.2 Document ENETDOWN. 2001-11-05 00:44:38 +00:00
sendfile.2 Remove the internal implementation details of wrapping syscalls, 2001-10-26 17:38:20 +00:00
setgroups.2
setpgid.2
setregid.2
setresuid.2
setreuid.2
setsid.2
setuid.2
shm_open.2
shmat.2
shmctl.2
shmget.2
shutdown.2
sigaction.2
sigaltstack.2
sigpending.2
sigprocmask.2
sigreturn.2 mdoc(7) police: join OS version with the corresponding macro. 2001-10-19 14:44:13 +00:00
sigstack.2
sigsuspend.2
sigwait.2
socket.2
socketpair.2
stat.2
statfs.2
swapon.2
symlink.2
sync.2
sysarch.2
syscall.2
truncate.2
truncate.c
umask.2
undelete.2
unlink.2
utimes.2
vfork.2
wait.2
write.2 Remove the internal implementation details of wrapping syscalls, 2001-10-26 17:38:20 +00:00