Commit Graph

54 Commits

Author SHA1 Message Date
wennmach
7b7d5b8b06 Added #defines for svis, strsvis, strsvisx 1999-11-25 16:54:15 +00:00
kleink
749057fddc Need internal names for these, too. 1999-09-20 15:07:21 +00:00
kleink
252971afdb Add indirect reference stubs for inet_[ap]ton() for environments not supporting
weak aliases; addresses PR lib/7435 but leaves the original file intact.
1999-09-15 14:21:01 +00:00
mycroft
ceae8b05d6 getsubopt(3) has a weak alias. 1999-08-17 05:20:23 +00:00
sommerfe
bb8c6c869a move __getcwd prototypes to libc-private header file.
XXX duplicate the prototype in getcwd regression test (which needs to
call the syscall directly for reasonably complete testing).
1999-03-26 22:23:57 +00:00
kleink
55cb8b09ce Functionally back out namespace.h revision 1.7 and perror.c revision 1.15;
perror() is an identifier reserved by ANSI/ISO C, and in case of a redefition
the behavior is undefined.
1999-03-09 13:14:36 +00:00
kleink
e2b924d2ae Add l64a_r(), a reentrant version of l64a(); found in the Multithreading
Extension of SVID4.
1999-02-06 15:04:05 +00:00
explorer
b131132411 add sha1 functions, like md5/4 1999-02-04 05:08:58 +00:00
lukem
9a137f1f22 namespace protect hesiod stuff 1999-01-25 00:13:28 +00:00
lukem
1cc0315b28 protect nsdispatch. sort entries 1999-01-20 11:48:49 +00:00
kleink
6348b7d5b5 * On architectures using ELF, and conditionally on those in transition, rename
_ASM_LABEL(cerror) and _ASM_LABEL(curbrk) to _C_LABEL(__cerror) and
_C_LABEL(__curbrk) (or their respective architecture-specific equivalents) to
avoid possible name clashes with identifiers used in user applications.
* Do the same for minbrk on all architectures to avoid a GCC-specific (and
on ELF architectures effectively useless) symbol reference renaming in MI code.
1999-01-14 22:48:18 +00:00
thorpej
50611666b1 Need an internal name for the (new) sys_nsig. 1998-11-30 20:43:06 +00:00
christos
f8dfd806d0 in the __str{error,signal} functions make the third argument size_t since
it is really a size. This does not affect the external interface, so there
should be no reason to bump the libc #
1998-11-15 17:21:08 +00:00
kleink
1070537dd5 Need internal names for MD[45]{Init,Final,Update}(). 1998-10-20 17:04:45 +00:00
kleink
3e8c90f694 Replace use of getdtablesize() with (the non-deprecated) sysconf(), hence no
need for an internal name for the former any more; suggested by Matthew Green.
1998-10-18 13:56:21 +00:00
kleink
bedf769000 getsubopt() isn't used internally. 1998-10-16 20:35:20 +00:00
kleink
571ab7ae88 Need an internal name for herror(). 1998-10-16 20:26:02 +00:00
kleink
d898f65fdd Need an internal name for tzname. 1998-10-16 12:56:44 +00:00
kleink
796b7ae4bf Need an internal name for signal(). 1998-10-16 12:47:45 +00:00
kleink
73ef151b8c Need an internal name for fgetln(). 1998-10-16 12:39:54 +00:00
kleink
b0decd2b79 Need an internal name for dn_expand(). 1998-10-15 09:28:13 +00:00
kleink
7a85778bf7 Need internal names for {end,set}hostent(). 1998-10-14 19:41:03 +00:00
kleink
886f927ec6 Need internal names for res_init(), res_mkquery(), res_query() and res_search(). 1998-10-14 19:13:01 +00:00
kleink
dc86984b00 Need internal names for ftruncate(), lseek(), mmap(), pread() and pwrite(). 1998-10-14 11:25:18 +00:00
kleink
0d8a0f5d93 Need an internal name for inet_aton(). 1998-10-13 21:03:31 +00:00
kleink
b1683a098a Need internal names for gethostby{addr,name}(). 1998-10-13 20:54:02 +00:00
kleink
a01bbaa113 Need an internal name for getdomainname(). 1998-10-13 20:40:29 +00:00
kleink
24a514c54c Need an internal name for strsep(). 1998-10-13 20:32:09 +00:00
kleink
352f441050 Need an internal name for strdup(). 1998-10-13 20:27:55 +00:00
kleink
f5092a6c94 Need an internal name for isatty(). 1998-10-13 15:05:02 +00:00
kleink
d541ca6d80 Need internal names for isinf() and isnan(). 1998-10-13 14:43:36 +00:00
kleink
ee1afe8b7c Need internal names for snprintf() and vsnprintf(). 1998-10-13 14:19:21 +00:00
kleink
8b3da7b7a8 Need an internal name for fdopen(). 1998-10-13 14:07:04 +00:00
kleink
329b130573 Add an internal name for getdtablesize(), since it's being used internally. 1998-10-08 13:49:16 +00:00
kleink
9d2eb0ba97 Add missing renaming of tcgetsid(). 1998-09-27 18:14:14 +00:00
kleink
0e34636229 Add an internal name for strtok_r(). 1998-09-27 17:57:49 +00:00
kleink
4048e12f31 Add wrappers around mutex and rwlock run-time initialization. 1998-09-14 11:03:05 +00:00
kleink
a0006ac87d Add asctime_r(), ctime_r(), gmtime_r() and localtime_r(). 1998-09-10 16:02:59 +00:00
mycroft
f1f53ef7e8 Add an internal name for perror(3). 1998-07-28 12:22:31 +00:00
mycroft
7e67c1c500 Delint. 1998-07-27 13:44:25 +00:00
mycroft
4024f73640 const poisoning. 1998-07-26 13:34:18 +00:00
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