Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Take care to avoid having "strong" and "weak" symbols of the same name in | jasone | 2000-03-16 | 1 | -0/+2 |
| | | | | libc_r. | ||||
* | Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), | jasone | 2000-01-27 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | | | just use _foo() <-- foo(). In the case of a libpthread that doesn't do call conversion (such as linuxthreads and our upcoming libpthread), this is adequate. In the case of libc_r, we still need three names, which are now _thread_sys_foo() <-- _foo() <-- foo(). Convert all internal libc usage of: aio_suspend(), close(), fsync(), msync(), nanosleep(), open(), fcntl(), read(), and write() to _foo() instead of foo(). Remove all internal libc usage of: creat(), pause(), sleep(), system(), tcdrain(), wait(), and waitpid(). Make thread cancellation fully POSIX-compliant. Suggested by: deischen | ||||
* | Add three-tier symbol naming in support of POSIX thread cancellation | jasone | 2000-01-12 | 1 | -2/+8 |
| | | | | | | points. For library functions, the pattern is __sleep() <-- _libc_sleep() <-- sleep(). The arrows represent weak aliases. For system calls, the pattern is _read() <-- _libc_read() <-- read(). | ||||
* | Oops, replace a rather important line that was lost in transit 8-( | jraynard | 1996-06-08 | 1 | -1/+2 |
| | |||||
* | Submitted by: (based on code in "Advanced Programming in the Unix Environment" | jraynard | 1996-06-05 | 1 | -18/+33 |
| | | | | | | | | | | | | | | | | by W.Richard Ste vens. EINTR handling suggested by bde@freebsd.org). Code cleanup: 1. Add missing return type. 2. Replace 'union wait' by int. 3. Use Posix-style signal handling instead of signal(). 4. Use fork() instead of deprecated vfork(). 5. Block signals before fork()'ing, instead of after. 6. Return -1 if fork() fails, instead of 0. 7. Add EINTR handling for waitpid() call. Also add claim of Posix conformance to man page. | ||||
* | BSD 4.4 Lite Lib Sources | rgrimes | 1994-05-27 | 1 | -0/+76 |