freebsd-skq/lib/libc/sys
jb 1078515ef6 Yikes, this is the worst of the lot. Bruce suggested doing this (!).
Include the architecture specific sys makefile like previously, but
what this contains differs. It defines MDASM which list architecture
specific asm code that *replaces* syscalls of the same name defined
in MIASM (which gets defined by the syscall.mk or netbsd_syscall.mk
dependent of NETBSD_SYSCALLS being defined). If a syscall has a
C source implementation or something funny done to it, or just doesn't
need default asm source generated for it, then it is listed in NOASM.

syscall.mk is generated by makesyscalls.sh with other syscall files.
netbsd_syscall.mk is a hand-generated equivalent. So if a new syscall
is added and no other makefiles are edited, it will automatically have
the default asm source generated for it (whether you want it or not).

Anything listed in MDASM gets added to SRCS and gets built. For
each syscall name in MIASM, if it doesn't exist in MDASM or NOASM,
it gets added to the ASM or ASMR lists to have code generated for it.
If the syscall name was listed in HIDDEN_SYSCALLS (intended for use
by libc_r, not libc which has it defined, but empty), then the name
is added to the ASMR list and gets renamed before being built;
otherwise it is added to the ASM list and gets built with the same
name.

I wonder if this is too complicated. But it works on both i386 and alpha.
1998-03-09 07:22:12 +00:00
..
__error.c Function to return a pointer to the non-threaded errno. This is declared 1998-03-09 07:09:55 +00:00
_exit.2 .Xr sigvec --> sigaction 1998-01-11 16:56:01 +00:00
accept.2 Added EMFILE and ENFILE to errors section. 1998-01-11 17:07:20 +00:00
access.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
acct.2 Remove the EINVAL error from the ERRORS sections that 1997-01-11 23:56:32 +00:00
adjtime.2 Fixed missing const(s) or #include(s) in synopsis. 1997-04-11 18:47:10 +00:00
bind.2 Fixed missing const(s) or #include(s) in synopsis. 1997-04-11 18:47:10 +00:00
brk.2 Fixed synopsis (the #include was bogus and the return type for brk() was 1997-04-11 18:39:44 +00:00
chdir.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
chflags.2 Submitted by: Whistle Communications (archie Cobbs) 1997-06-02 06:24:52 +00:00
chmod.2 Formatting fix. 1998-01-11 17:49:51 +00:00
chown.2 Fix a minor grammar problem. 1997-04-01 18:06:33 +00:00
chroot.2 Remove the EINVAL error from the ERRORS sections that 1997-01-11 23:56:32 +00:00
clock_gettime.2 Fixed wrong prototype for clock_getres(). 1998-01-16 13:39:49 +00:00
close.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
connect.2 Fixed missing const(s) or #include(s) in synopsis. 1997-04-11 18:47:10 +00:00
dup.2 Clarified the behaviour of dup2(fd1,fd2) when fd1==fd2 and when fd1 is invalid. 1997-03-09 13:16:48 +00:00
execve.2 Document that arg max is controllable via sysctl. 1998-01-11 21:43:38 +00:00
fcntl.2 Don't use hardcoded *roff font change requests. 1997-01-31 01:06:39 +00:00
flock.2 Updated the LOCK_* #defines in the synopsis to be lexically identical 1997-04-13 13:43:06 +00:00
fork.2 Add <sys/types.h> to synopsis. 1998-01-11 16:51:49 +00:00
fsync.2 Correctly use .Fn instead of .Nm to reference function names 1996-08-22 23:31:07 +00:00
ftruncate.c Reviewed by: julian and (hsu?) 1996-01-22 00:02:33 +00:00
getdirentries.2 Fixed #includes in synopsis to compile. 1997-03-28 12:27:42 +00:00
getdtablesize.2 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
getfh.2 Fixed missing const(s) or #include(s) in synopsis. 1997-04-11 18:47:10 +00:00
getfsstat.2 Merge from Lite2 onto mainline - 1997-03-11 11:35:56 +00:00
getgid.2 Fixed missing #include in synopsis. 1997-04-11 18:57:26 +00:00
getgroups.2 Dump the constant NGROUPS in favor of the POSIX way: 1998-01-13 01:30:17 +00:00
getitimer.2 Explicitly point that it_value == 0 disables timer regardles of 1997-08-14 08:26:25 +00:00
getlogin.2 Removed superfluous quoting of function args. 1997-09-07 04:10:35 +00:00
getpeername.2 Sort cross references. 1997-01-20 23:23:22 +00:00
getpgrp.2 Sort cross refereces in section SEE ALSO. 1997-09-29 19:11:55 +00:00
getpid.2 Added sys/types.h to synopsis as per POSIX. 1998-01-11 22:16:11 +00:00
getpriority.2 Correctly use .Fn instead of .Nm to reference function names 1996-08-22 23:31:07 +00:00
getrlimit.2 Fixed brk(2) xref. 1998-01-11 22:22:50 +00:00
getrusage.2 Use .Fn for sysconf(_SC_CLOCK_TCK) reference. 1998-01-13 01:21:19 +00:00
getsid.2 Sort cross refereces in section SEE ALSO. 1997-09-29 19:11:55 +00:00
getsockname.2 add xrefs for getpeername, so other people that look for it can find it.. :) 1997-03-24 01:22:01 +00:00
getsockopt.2 Merge from Lite2 onto mainline - 1997-03-11 11:35:56 +00:00
gettimeofday.2 Formatting fix & improved comment for struct timeval. 1998-01-11 22:28:56 +00:00
getuid.2 Xref the new issetugid(2) man page where appropriate. 1997-04-01 18:58:38 +00:00
intro.2 Consistently reference init as .Xr init 8. 1998-01-13 05:09:16 +00:00
ioctl.2 Sort cross references. 1997-01-20 23:23:22 +00:00
issetugid.2 Sort cross refereces in section SEE ALSO. 1997-09-29 19:11:55 +00:00
kill.2 Fixed missing const(s) or #include(s) in synopsis. 1997-04-11 18:47:10 +00:00
ktrace.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
link.2 Typo fix. 1998-01-15 04:31:28 +00:00
listen.2 Fixed missing const(s) or #include(s) in synopsis. 1997-04-11 18:47:10 +00:00
lseek.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
lseek.c Reviewed by: julian and (hsu?) 1996-01-22 00:02:33 +00:00
madvise.2 Convert caddr_t --> void * for sys/mman.h functions. 1997-12-31 01:22:01 +00:00
Makefile.inc Yikes, this is the worst of the lot. Bruce suggested doing this (!). 1998-03-09 07:22:12 +00:00
mincore.2 Convert caddr_t --> void * for sys/mman.h functions. 1997-12-31 01:22:01 +00:00
minherit.2 Convert caddr_t --> void * for sys/mman.h functions. 1997-12-31 01:22:01 +00:00
mkdir.2 Added #include <sys/types.h> to synopsis. 1998-01-20 03:52:49 +00:00
mkfifo.2 Added #include <sys/types.h> to synopsis. 1998-01-20 03:52:49 +00:00
mknod.2 Correct the most glaring errors. I have a feeling there are some 1997-04-02 01:42:07 +00:00
mlock.2 Added cross references to mincore(2) and minherit(2). 1998-01-20 03:59:07 +00:00
mmap.2 Convert caddr_t --> void * for sys/mman.h functions. 1997-12-31 01:22:01 +00:00
mmap.c Convert caddr_t --> void * for sys/mman.h functions. 1997-12-31 01:22:01 +00:00
mount.2 correct a typo I just noticed. 1998-02-17 19:41:53 +00:00
mprotect.2 Convert caddr_t --> void * for sys/mman.h functions. 1997-12-31 01:22:01 +00:00
msync.2 Convert caddr_t --> void * for sys/mman.h functions. 1997-12-31 01:22:01 +00:00
munmap.2 Convert caddr_t --> void * for sys/mman.h functions. 1997-12-31 01:22:01 +00:00
nanosleep.2 Sort cross refereces in section SEE ALSO. 1997-09-29 19:11:55 +00:00
netbsd_getdirentries.c Compatibility functions for use when __NETBSD_SYSCALLS is defined. 1998-03-09 07:07:21 +00:00
netbsd_stat.c Compatibility functions for use when __NETBSD_SYSCALLS is defined. 1998-03-09 07:07:21 +00:00
nfssvc.2 Fixed missing #include in synopsis. 1998-01-16 13:41:28 +00:00
open.2 Document EINVAL as a possible return value from open(2). 1997-10-22 07:29:13 +00:00
pathconf.2 Correctly use .Fn instead of .Nm to reference function names 1996-08-22 23:31:07 +00:00
pipe.2 Sort cross references. 1997-01-20 23:23:22 +00:00
poll.2 A poll(2) manpage. 1997-09-14 05:44:35 +00:00
profil.2 Show the real revision date and not the date that this 1997-06-23 04:03:49 +00:00
ptrace.2 Use the .Tn macro for generic FreeBSD references. Other minor cleanup. 1997-03-21 20:57:20 +00:00
quotactl.2 Describe the QCMD macro and its parameters. 1997-08-17 00:08:40 +00:00
read.2 Update to reflect current include files. 1997-01-30 22:39:40 +00:00
readlink.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
reboot.2 Correctly use .Fn instead of .Nm to reference function names 1996-08-22 23:31:07 +00:00
recv.2 Document SCM_CREDS changes. 1997-03-21 16:52:05 +00:00
rename.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
revoke.2 Fixed missing const(s) or #include(s) in synopsis. 1997-04-11 18:47:10 +00:00
rfork.2 Fixed style bug in pseudocode. 1997-09-07 04:01:27 +00:00
rmdir.2 Remove the EINVAL error from the ERRORS sections that 1997-01-11 23:56:32 +00:00
rtprio.2 Use the .Tn macro for generic FreeBSD references. Other minor cleanup. 1997-03-21 20:57:20 +00:00
select.2 Typo fix 1997-09-28 03:28:34 +00:00
semctl.2 Removed unnecessary quoting of function names in synopsis to simplify 1997-03-18 23:57:33 +00:00
semget.2 Expanded cross references. 1998-01-02 19:22:52 +00:00
semop.2 Removed unnecessary quoting of function names in synopsis to simplify 1997-03-18 23:57:33 +00:00
send.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
setgroups.2 Correctly use .Fn instead of .Nm to reference function names 1996-08-22 23:31:07 +00:00
setpgid.2 Proper spacing in the Synopsis. 1997-10-16 01:19:15 +00:00
setregid.2 Xref the new issetugid(2) man page where appropriate. 1997-04-01 18:58:38 +00:00
setreuid.2 Xref the new issetugid(2) man page where appropriate. 1997-04-01 18:58:38 +00:00
setsid.2 Removed superfluous quoting of function args. 1997-09-07 04:10:35 +00:00
setuid.2 Update to include details about the changes to setuid/setgid. 1997-04-02 17:24:16 +00:00
shmat.2 Removed unnecessary quoting of function names in synopsis to simplify 1997-03-18 23:57:33 +00:00
shmctl.2 Removed superfluous quoting of function args. 1997-09-07 04:10:35 +00:00
shmget.2 Removed unnecessary quoting of function names in synopsis to simplify 1997-03-18 23:57:33 +00:00
shutdown.2 Fixed missing const(s) or #include(s) in synopsis. 1997-04-11 18:47:10 +00:00
sigaction.2 Document the fpgetprec/fpsetprec functions in their man page. 1998-02-04 22:30:20 +00:00
sigaltstack.2 Make this man page really match the current <sys/signal.h> again and 1997-03-12 17:16:22 +00:00
sigpending.2 upgrade STANDARDS from POSIX 1003.1-88 to 1003.1-90 using .St macro 1996-12-02 20:03:58 +00:00
sigprocmask.2 Document the fpgetprec/fpsetprec functions in their man page. 1998-02-04 22:30:20 +00:00
sigreturn.2 Update to reflect current include files. 1997-01-30 22:39:40 +00:00
sigstack.2 Correctly use .Fn instead of .Nm to reference function names 1996-08-22 23:31:07 +00:00
sigsuspend.2 Add xref to signanosleep(2) 1997-06-01 10:34:39 +00:00
socket.2 Expanded cross references. 1998-01-02 19:22:52 +00:00
socketpair.2 Sort cross references. 1997-01-20 23:23:22 +00:00
stat.2 Expanded cross references. 1998-01-02 19:22:52 +00:00
statfs.2 Merge from Lite2 onto mainline - 1997-03-11 11:35:56 +00:00
swapon.2 Sort cross references. 1997-01-20 23:23:22 +00:00
symlink.2 Sort cross references. 1997-01-20 23:23:22 +00:00
sync.2 Correctly use .Fn instead of .Nm to reference function names 1996-08-22 23:31:07 +00:00
syscall.2 Fixed return type of __syscall() in synopsis. 1997-04-11 18:54:05 +00:00
truncate.2 Remove the EINVAL error from the ERRORS sections that 1997-01-11 23:56:32 +00:00
truncate.c Fixed missing const. Include <unistd.h> so that the function type gets 1997-04-14 15:14:58 +00:00
umask.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
undelete.2 Import CSRG 4.4BSD-Lite2 lib/libc onto vendor branch 1997-03-11 11:29:42 +00:00
unlink.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
utimes.2 Remove the EINVAL error from the ERRORS sections that 1997-01-11 23:56:32 +00:00
vfork.2 Expanded cross references. 1998-01-02 19:22:52 +00:00
wait.2 Expanded cross references. 1998-01-02 19:22:52 +00:00
write.2 Update to reflect current include files. 1997-01-30 22:39:40 +00:00