christos
4ddc2fb37c
add dprintf and vdprintf
2010-09-06 14:52:55 +00:00
joerg
00711901b6
Use a proper char */size_t pair in __sfileext to keep track of the line
...
buffer for fgetln and fgetwln. Simplifies code by dropping the INT_MAX
related logic. Drop conditionals around FREELB, free(NULL) is valid.
2010-01-11 20:39:29 +00:00
thorpej
2e2d300f43
Grr, adjust last so that it works with our busted lint(1).
2006-10-07 21:40:46 +00:00
thorpej
569c003c39
Use explicit initializers in STDEXT
2006-10-07 20:46:59 +00:00
tnozaki
44eb8f042e
fix gcc -Werror -Wmissing-braces problem
...
mbstate_t(this is opaque object)'s initializer should be ``{ 0 }'',
so changed 1st field of union from character array to integer.
2006-10-04 13:51:59 +00:00
agc
eb7c1594f1
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00
nathanw
b5665a9b84
Add fields to struct __sfileext to track how many times the lock has been
...
taken by internal stdio functions, and what the cancellation state was when
the first such lock was taken.
2003-07-18 21:46:41 +00:00
nathanw
34c915eb3d
Revert the conversion to libpthread's recursive mutexes. Too much
...
trouble is caused by the memory allocation in the mutex initialization,
and uncontested mutexes and condition variables have become faster in the
meantime.
2003-02-01 03:25:00 +00:00
nathanw
6003a24dd4
Use recursive mutexes from libpthread rather than implementing
...
our own with normal mutexes and condition variables.
2003-01-21 23:26:02 +00:00
thorpej
3fdac2b8c5
Merge the nathanw_sa branch.
2003-01-18 10:52:16 +00:00
christos
9588aa8fef
fully initialize the structure to avoid gcc complaints.
2002-03-12 22:56:16 +00:00
yamt
17f3654a64
- make FILE structure extensible without breaking binary-compatibility.
...
- add fputwc, fgetwc, fwide and related functions.
- add hooks needed to maintain the orientation of file stream.
2001-12-07 11:47:40 +00:00
mycroft
b714bb5102
Just call fflush() from _cleanup(), since it does the right locking.
2000-01-21 19:55:02 +00:00
christos
e7f7fdba9a
delint
1998-11-15 17:19:53 +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
45f04f24af
Need "namespace.h" for getdtablesize().
1998-10-16 20:48:06 +00:00
perry
c8bafd6265
remove obsolete register declarations
1998-02-03 18:38:12 +00:00
jtc
a1de770ebd
Use rwlocks as appropriate.
1998-01-22 08:21:45 +00:00
christos
23312f88d4
Fix RCSID's
...
Fix gcc warnings.
Add prototypes for functions that were declared in more than one place
to local.h or extern.h and use that instead.
1997-07-13 20:14:49 +00:00
jtc
255db7b26b
Merged with 4.4lite.
...
Changed to conform to NetBSD's new RCS Id convention.
1995-02-02 02:09:03 +00:00
cgd
fee4815efc
fix pr 594, pointed out by Chuck Silvers. fix taken from 4.4-Lite, rather
...
than his patch. (functionally identical, though...)
1994-12-08 22:58:47 +00:00
jtc
58f143a599
Add explicit return types to function definitions.
1993-12-31 19:13:47 +00:00
jtc
9c20f740a3
Declare rcsid strings so they are stored in text segment.
1993-08-26 00:43:03 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00