Commit Graph

879 Commits

Author SHA1 Message Date
tshiozak
5af70bc478 - add wctob() function. (I forgot it at the last commit.)
- fix btowc(); I quite misunderstood about it.
2003-03-03 07:39:53 +00:00
tshiozak
31e2cbf0b5 add some ISO C 1995 I18N functions and types:
btowc, wctrans, towctrans, wcscoll, wcsxfrm, wctype_t and wctrans_t.
2003-03-02 22:18:11 +00:00
bjh21
22ebd2b34b Add _Exit(), for C99 and POSIX-2001.
Proposed on tech-userlevel to a resounding silence in April last year.
2003-03-01 15:59:02 +00:00
kleink
898beee0b0 As with _REENTRANT, don't provide simple non-locking macro versions of
several functions when _PTHREADS is defined (usually via cc -pthread).
2003-02-27 15:56:04 +00:00
jdolecek
af3d346a8c add POSIX sigtimedwait(), sigwaitinfo(), sigwait() - wait for queued signals
note these are for non-threaded programs only - libpthread will provide
it's own thread-aware wrapper
2003-02-15 21:11:47 +00:00
kleink
d58cfc7d35 Sprinkle some restrict. 2003-02-05 23:13:07 +00:00
wiz
7bd6fd354d unknown, not unkown. Noted by mjl. 2003-01-28 22:19:22 +00:00
elric
bcc72a236b The last change I made was a little aggressive in changing the paths of
the includes and broke cross builds from non-NetBSD arches.  In this I
revert the problem section.  (pointed out by uwe.)
2003-01-27 06:19:40 +00:00
elric
91654e3d23 Prepend krb5/ to include paths that live in /usr/include/krb5/ so that
we can deprecate the requirement of -I/usr/include/krb5 when building
kerberos apps.
2003-01-26 22:19:36 +00:00
fvdl
a3ff3a3038 Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.
2003-01-24 21:55:02 +00:00
kleink
fb7df61857 Sprinkle some restrict. 2003-01-21 17:45:04 +00:00
kleink
95893ccc7b Need <sys/cdefs.h>. 2003-01-21 12:27:11 +00:00
christos
3f4a1907c6 add support for p1003.1b semaphores. From FreeBSD 2003-01-20 20:09:50 +00:00
thorpej
7dc01dbfab Add some threadlib stubs that are used by X:
* thr_create() (stub in libc aborts)
* thr_exit() (stub in libc calls exit())
* thr_yield() (stub in libc does nothing)

Also make the libc thr_self() stub not abort.

XXX Should we add thrattr_*() stubs for setting the detach-state?
2003-01-19 21:58:21 +00:00
thorpej
0c8ccd6d1f * Wrap decls in __BEGIN_DECLS/__END_DECLS.
* Add a thr_enabled() which returns the value of libc's __isthreaded
  variable, indicating whether or not threads are actually enabled.
2003-01-19 21:06:02 +00:00
thorpej
592409d356 Add mutexattr_init(), mutexattr_destroy(), and mutexattr_settype() (recursive
mutexes are used by the X libraries).
2003-01-19 20:46:11 +00:00
thorpej
ba54189cb1 Expose libc's thread stubs, which get magically turned into real pthread
calls when the pthread library is linked in.  Simplifies making other
libraries (such as X's) thread-safe.
2003-01-19 19:24:39 +00:00
thorpej
08fd7e9bb7 Merge the nathanw_sa branch. 2003-01-18 18:05:05 +00:00
christos
c6e0fe9a2b oops, erased word accidentally. 2003-01-18 17:12:13 +00:00
christos
32c802c315 avoid TMP_MAX redefinition 2003-01-18 17:10:16 +00:00
thorpej
c62a74e6d5 Merge the nathanw_sa branch. 2003-01-18 10:32:11 +00:00
kleink
30a90a73b4 Add sighold(3), sigignore(3), sigrelse(3) and sigset(3) to libc.
Fixes PR lib/19212, now redesignated standards/19212, from David Laight.
2003-01-15 23:55:41 +00:00
tron
503456a35a Include "bsd.rpc.mk" before "bsd.prog.mk" to fix the "cleandir" target. 2003-01-11 13:28:43 +00:00
wiz
c053751628 compatibility, not compatiblity. 2003-01-06 13:26:24 +00:00
wiz
4824190751 transmission, not transmition. 2003-01-06 13:17:01 +00:00
sommerfeld
8f6f405641 Use <bsd.rpc.mk> 2003-01-05 19:24:06 +00:00
augustss
4be0da5b3b Add _PATH_SYSMON. 2003-01-01 12:15:16 +00:00
atatat
5ea6c6f13e Spelling police. "__resitrct" was not spelled cirectly enough. 2002-12-20 20:59:22 +00:00
lukem
32d2556b0c this needs <sys/types.h> 2002-12-12 23:00:37 +00:00
scw
0c83fd4944 Add getlabelsector() and getlabeloffset() as wrappers around the
KERN_LABELSECTOR and KERN_LABELOFFSET sysctls.
2002-12-12 09:45:32 +00:00
christos
d8c7cd31c5 New auth length defines. We don't play with sockaddr for now. Also make
the list of commands const.
2002-11-30 04:02:19 +00:00
lukem
b1e79510cf - Migrate fparseln(3) from libutil to libc, where it should have been in
the first place...
- Bump libutil major (to 7.0) and libc minor (to 12.91).
2002-11-30 03:04:44 +00:00
lukem
6ca5b5bb68 add strsuftoll(3) and strsuftollx(3) - parse a string for a number
with an optional suffix, product (two numbers separated by `x'), and
provide range checking
2002-11-29 12:58:14 +00:00
kleink
4f7792917a Update for 1003.1-2001 base and XSI changes. 2002-11-18 13:39:33 +00:00
thorpej
21353eb9a6 Make fts_pathlen and fts_nitems unsigned. 2002-11-11 01:07:08 +00:00
fvdl
858b3fd46a Include rpc_com.h. 2002-11-08 00:10:58 +00:00
fvdl
0a46d2378d include rpc_com.h, and define SVC{GET,SET}_CONNMAXREC 2002-11-08 00:10:44 +00:00
fvdl
c6e006104d Install rpc_com.h 2002-11-08 00:08:38 +00:00
fvdl
00503f61de Moved here from libc/rpc. Install this in /usr/include/rpc, just
like on Solaris. This wasn't done before, since it only contained
internal libc interfaces. These have been moved to rpc_internal.h,
and this file now contains some actual exported definitions.
2002-11-08 00:08:20 +00:00
joda
2a0b34371c set version to 0.5nb1 2002-10-21 21:10:59 +00:00
elric
4b6afdd53e add prototypes for disklabel_dkcksum() and disklabel_scan(). 2002-10-12 20:46:57 +00:00
provos
b899aa2abc implement FNM_LEADING_DIR; matches Linux and other *BSDs; approved thorpej 2002-10-06 03:15:45 +00:00
christos
dfbaa22bd7 Assign to TNF. 2002-10-04 11:42:38 +00:00
mycroft
016f903642 select() -> poll() 2002-09-20 21:48:58 +00:00
mycroft
ee48615074 select() -> poll() 2002-09-20 21:34:31 +00:00
christos
6a066bf4a4 Add snprintb(3) 2002-09-20 21:11:36 +00:00
lukem
99fe9d3e76 minor makefile delint 2002-09-18 06:17:38 +00:00
joda
a8826a31ce update to newer versions 2002-09-12 13:32:37 +00:00
itojun
d4a64790e3 remove unused/unsupported AI_xx. notified by PR 18072 2002-08-26 13:38:19 +00:00
enami
38540fc05e Cosmetic changes. 2002-08-15 04:47:12 +00:00