Commit Graph

13 Commits

Author SHA1 Message Date
jtc 499d79dfdc Add support for multiple reader-single writer locks which will be used
in stdio.  Although there is no POSIX.1 lock of this type, XPG 4.2 has
specified one that is suitable for our purposes and that we'll have to
implement anyway.
1998-01-22 08:20:05 +00:00
jtc c157b15a65 Add FLOCKFILE() and FUNLOCKFILE() macro definitions to be used in
making stdio thread-safe.
1998-01-19 07:29:11 +00:00
jtc 3f4892e0d9 Header file which describes mechanism that will be used by libc for
thread safety of library internals.
1998-01-16 10:15:08 +00:00
kleink 916831ec4e Add lockf(), an alternate interface to perform advisory record locking;
per XPG4.2.
1997-12-20 20:23:15 +00:00
kleink 8bfc0cef1e Add basename() and dirname(), from XPG4.2. 1997-11-02 16:48:25 +00:00
christos 446ebe5c2c Remove _tztab() declaration now that timezone() migrated to libcompat. 1997-10-16 23:08:21 +00:00
mrg 74f573d85d remove advertising clause from all my licenses. 1997-10-10 05:39:47 +00:00
jtc b5f2501072 Put TNF copyright on this file 1997-07-21 14:17:52 +00:00
jtc 43fa6fe319 If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore.  The library will use those
names internally.  Weak aliases are used to provide the original names
to the API.

This is only the first part of this change.  It is most of the functions
which are implemented in C for all NetBSD ports.  Subsequent changes are
to add the same support to the remaining C files, to assembly files, and
to the automagically generated assembly source used for system calls.
When all of the above is done, ports with weak alias support should add
a definition for __weak_alias to <sys/cdefs.h>.
1997-07-21 14:06:24 +00:00
christos 00406df87c Add prototype declarations 1997-07-13 20:28:49 +00:00
mrg 5a1ec9814a allow rcmd() to use something other than rsh protocol. 1997-05-26 14:18:29 +00:00
cgd 1c44409a29 clean up Id 1995-02-27 13:02:12 +00:00
jtc 2deb4892f4 Initial set of ANSI clean namespace mappings. 1995-02-09 04:49:01 +00:00