summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
Commit message (Collapse)AuthorAgeFilesLines
* Describe what constitues an exceptional condition.steve1998-08-241-0/+2
| | | | | PR: 7666 Submitted by: Archie Cobbs <archie@whistle.com>
* Remove support for NetBSD syscalls.jb1998-08-175-343/+1
|
* oops, forgot to do ``cvs add'' first.jlemon1998-07-281-0/+79
|
* Add wrappers for i386_*_ioperm, i386_vm86 so userland code doesjlemon1998-07-281-2/+3
| | | | | not have to call sysarch() directly. Added man pages for above, as well as sysarch()
* Correct wording on range of addresses examined by `msync(2)'.jkoshy1998-07-091-2/+2
| | | | PR: 7180
* Document EINVAL return value.bde1998-06-141-0/+7
|
* Implement compile time thread lock debug.jb1998-06-092-4/+4
|
* Rename fstat as _thread_sys_fstat if being built into libc_r.jb1998-06-091-1/+5
|
* Implement thread support for libc_r. Make the lseek syscall directlyjb1998-06-091-2/+7
| | | | to avoid recursive locking.
* Spelling nits.jkoshy1998-06-062-4/+4
| | | | Pointed out by: Sue Blake <sue@welearn.com.au>
* Fix a bunch of spelling errors.steve1998-06-049-16/+16
| | | | | PR: 6856 Submitted by: Josh Gilliam <josh@quick.net>
* kill.1: Remove reference to obsolete sigvec(2) man page. Removedjkoshy1998-05-181-2/+1
| | | | | | | self reference in sigaction(2) man page. Submitted by: Josh Gilliam <josh@quick.net> PR: 6617
* Remove reference to signanosleepache1998-05-141-1/+0
|
* Nuke signanosleep()peter1998-05-142-21/+3
|
* Add a BUGS section and describe a problem I've been having forbrian1998-05-091-1/+14
| | | | a few weeks now.
* Typo fix.jraynard1998-05-031-2/+2
|
* Fixed disordering and other style bugs in rev.1.50.bde1998-05-011-6/+4
|
* Change the description of errno to match the thread-aware implementationjb1998-04-301-32/+6
| | | | | from 3.0 on. With 3.0 being a major release, now is a good time to do this.
* Build __error.c into libc, but not libc_r. The weak symbol in thejb1998-04-301-2/+7
| | | | | | | | | | file works with libpthread, but when built into libc_r which has a non-weak symbol of the same name, the linker behaves unpredicatably and sometimes links the wrong symbol. The linker behaviour is a byproduct of what the program calls from object to object so it is like winning a lottery if the program actually works. The odds are quite good - 95:1, I think. We need a sure thing, though, so weak symbols can't be used instead of renaming things.
* `sigprocmask()' man page references `sigmask()' in synopsis.phk1998-04-261-1/+0
| | | | | | | | | Note odd `sigmask()' line in synopsis. `sigsetops(3)' is better suited for `sigprocmask' and is already referenced from the manual page. (`sigmask()' is useful for the older (& deprecated) `sigsetmask()' API). PR: 6395 Reviewed by: phk Submitted by: Joseph Koshy <koshy@india.hp.com>
* Backed out lseek changes.des1998-04-191-1/+1
|
* Return EINVAL and do not changefile pointer if resulting offset is negative.des1998-04-181-2/+2
| | | | PR: kern/6184
* Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B anddufault1998-03-285-1/+532
| | | | | | | | | | | | | | | | _KPOSIX_PRIORITY_SCHEDULING options to work. Changes: Change all "posix4" to "p1003_1b". Misnamed files are left as "posix4" until I'm told if I can simply delete them and add new ones; Add _POSIX_PRIORITY_SCHEDULING system calls for FreeBSD and Linux; Add man pages for _POSIX_PRIORITY_SCHEDULING system calls; Add options to LINT; Minor fixes to P1003_1B code during testing.
* For 1.3, NetBSD replaced the swapon() syscall with swapctl() and movedjb1998-03-232-2/+46
| | | | | the only call to compat_12 which isn't there by default. Provide a wrapper.
* For 1.3, NetBSD walloped the msync syscall and replaced it withjb1998-03-232-2/+59
| | | | | | __msync13. The old one got moved to compat_12. Wrap __msync13 up to look like FreeBSD's msync and be careful to respect the fact that MS_SYNC is 0x0000 on FreeBSD, but 0x0004 on NetBSD.
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aqcharnier1998-03-191-6/+8
|
* <sys/errno.h> -> <errno.h>eivind1998-03-161-1/+1
|
* Add #include <unistd.h> to get the prototype for __syscall().jb1998-03-091-1/+2
| | | | Cast to long before casting to a void ptr to shut up gcc.
* Yikes, this is the worst of the lot. Bruce suggested doing this (!).jb1998-03-091-58/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Function to return a pointer to the non-threaded errno. This is declaredjb1998-03-091-0/+47
| | | | | with a weak symbol so that it won't be linked when linking against libc_r or libpthread.
* Compatibility functions for use when __NETBSD_SYSCALLS is defined.jb1998-03-092-0/+222
|
* Don't add OBJS to CLEANFILES. bsd.obj.mk does it. Some objects werebde1998-02-251-3/+1
| | | | duplicated.
* correct a typo I just noticed.jkh1998-02-171-1/+1
|
* Document the fpgetprec/fpsetprec functions in their man page.jlemon1998-02-042-1/+3
| | | | | | Add cross-references to the elusive fpsetmask() function to various other man pages. Reviewed by: bde
* Kill lfs files that were causing make world to fail.imp1998-01-311-3/+2
|
* Added cross references to mincore(2) and minherit(2).alex1998-01-201-0/+3
| | | | Obtained from: OpenBSD
* Added #include <sys/types.h> to synopsis.alex1998-01-202-1/+4
| | | | Obtained from: OpenBSD
* Fixed missing #include in synopsis.bde1998-01-161-0/+2
|
* Fixed wrong prototype for clock_getres().bde1998-01-161-2/+2
|
* Typo fix.alex1998-01-151-2/+12
| | | | | | | Added EOPNOTSUPP and EMLINK to errors section. Added symlink(2) xref. Obtained from: OpenBSD
* Consistently reference init as .Xr init 8.alex1998-01-131-2/+2
| | | | Obtained from: OpenBSD
* Dump the constant NGROUPS in favor of the POSIX way:alex1998-01-131-9/+6
| | | | | | sysconf(_SC_NGROUPS_MAX). Submitted by: bde
* Use .Fn for sysconf(_SC_CLOCK_TCK) reference.alex1998-01-131-1/+3
| | | | Added $Id$.
* Formatting fix & improved comment for struct timeval.alex1998-01-111-1/+3
| | | | Obtained from: OpenBSD
* Fixed brk(2) xref.alex1998-01-111-1/+2
| | | | Obtained from: OpenBSD
* Added sys/types.h to synopsis as per POSIX.alex1998-01-111-1/+2
| | | | Obtained from: OpenBSD
* Replace sys/param.h with sys/types.h as per POSIX.alex1998-01-111-1/+9
| | | | | | Document the special case of gidsetlen == 0. Partially obtained from: OpenBSD
* Document that arg max is controllable via sysctl.alex1998-01-111-5/+7
|
* Formatting fix.alex1998-01-111-1/+2
| | | | Obtained from: OpenBSD
* Added EMFILE and ENFILE to errors section.alex1998-01-111-0/+5
| | | | Obtained from: OpenBSD
OpenPOWER on IntegriCloud