freebsd-skq/lib/libc/sys
dwmalone 33776f88dc 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 To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:11:50 +00:00
_exit.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
accept.2 Nuke the paragraph that says "One can obtain user connection request 2002-01-07 06:10:37 +00:00
access.2 - Bump document date for eaccess(2) addition. 2001-10-11 15:27:53 +00:00
acct.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
adjtime.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
aio_cancel.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
aio_error.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
aio_read.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
aio_return.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
aio_suspend.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
aio_waitcomplete.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
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 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
chflags.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
chmod.2 Fix a typo. 2001-12-07 14:58:41 +00:00
chown.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
chroot.2 Add xref to jail(2). 2001-12-28 09:26:45 +00:00
clock_gettime.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
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 Fixed missing include in synopsis. 2001-10-03 00:51:30 +00:00
fcntl.2 Remove the internal implementation details of wrapping syscalls, 2001-10-26 17:38:20 +00:00
fhopen.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
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 Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
getdirentries.2 Remove the internal implementation details of wrapping syscalls, 2001-10-26 17:38:20 +00:00
getdtablesize.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
getfh.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
getfsstat.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
getgid.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
getgroups.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
getitimer.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
getlogin.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
getpeername.2 Remove the internal implementation details of wrapping syscalls, 2001-10-26 17:38:20 +00:00
getpgrp.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
getpid.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
getpriority.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
getrlimit.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
getrusage.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
getsid.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
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 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
intro.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ioctl.2 Remove the internal implementation details of wrapping syscalls, 2001-10-26 17:38:20 +00:00
issetugid.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
jail.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
kill.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
kldfind.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
kldfirstmod.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
kldload.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
kldnext.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
kldstat.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
kldsym.2 Another punctuation fix (missing comma ending preposition). 2001-09-01 21:32:52 +00:00
kldunload.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
kqueue.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ktrace.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
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 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
lseek.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
madvise.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
Makefile.inc o Modify access(2) man page to describe eaccess(2), and add a symlink 2001-09-21 21:35:22 +00:00
mincore.2 Note that the manpage is incorrect about the vector argument. 2001-11-09 01:01:50 +00:00
minherit.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
mkdir.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
mkfifo.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
mknod.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
mlock.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
mmap.2 The VM_STACK option is long dead. MAP_STACK is available everywhere. 2001-12-21 17:24:10 +00:00
mmap.c Add #include <unistd.h> to get the prototype for __syscall(). 1998-03-09 07:27:58 +00:00
modfind.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
modnext.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
modstat.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
mount.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
mprotect.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
msync.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
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 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
nfssvc.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
open.2 Fix the description of the O_NONBLOCK flag to match reality. 2002-01-22 14:18:55 +00:00
pathconf.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
pipe.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
poll.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
pread.c Add wrappers for pread and pwrite syscalls. 1999-04-04 21:46:24 +00:00
profil.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ptrace.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
pwrite.c Add wrappers for pread and pwrite syscalls. 1999-04-04 21:46:24 +00:00
quotactl.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
read.2 Remove the internal implementation details of wrapping syscalls, 2001-10-26 17:38:20 +00:00
readlink.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
reboot.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
recv.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
rename.2 Bump p1003.1-90 to p1003.1-96. 2001-11-29 03:21:16 +00:00
revoke.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
rfork.2 Document that rfork() will return EINVAL if flags not listed in the 2001-12-19 00:59:54 +00:00
rmdir.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
rtprio.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
sched_get_priority_max.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
sched_setparam.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
sched_setscheduler.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
sched_yield.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
select.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
semctl.2 Fix SysV Semaphore Handling. 2001-10-11 08:15:14 +00:00
semget.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
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 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
setpgid.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
setregid.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
setresuid.2 Fixed misspelled arg type in synopsis. 2001-10-03 01:45:37 +00:00
setreuid.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
setsid.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
setuid.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
shm_open.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
shmat.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
shmctl.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
shmget.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
shutdown.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
sigaction.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
sigaltstack.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
sigpending.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
sigprocmask.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
sigreturn.2 mdoc(7) police: join OS version with the corresponding macro. 2001-10-19 14:44:13 +00:00
sigstack.2 Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
sigsuspend.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
sigwait.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
socket.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
socketpair.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
stat.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
statfs.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
swapon.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
symlink.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
sync.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
sysarch.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
syscall.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
truncate.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
truncate.c
umask.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
undelete.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
unlink.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
utimes.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
vfork.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
wait.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
write.2 Remove the internal implementation details of wrapping syscalls, 2001-10-26 17:38:20 +00:00