summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/local.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make __svfscanf() the unlocked, core of vfscanf() and use it inguenther2011-11-081-1/+2
| | | | | | sscanf()/vsscanf() where locking is unnecessary. ok millert@
* Add wscanf(3) and friends. Based on our scanf(3) implementation, with widestsp2011-10-161-1/+3
| | | | | character support changes based on code from FreeBSD. ok espie guenther; man page help from schwarze
* Bring back wprintf. We've sorted out what to do for gcc2 and gcc3.stsp2011-04-281-1/+2
| | | | "Yes, go ahead then" deraadt
* Back out wprintf until we've determined what to do for gcc2 and gcc3 arches.stsp2011-04-241-2/+1
|
* Add fwprintf, swprintf, vfwprintf, vswprintf, vwprintf, and wprintf to libc.stsp2011-04-241-1/+2
| | | | | | Based on our vfprintf etc. implementations. Wide character parts based on NetBSD but with lots of macros expanded. Minor bump for libc. ok kettenis espie
* Fix the handle locking in stdio to use flockfile/funlockfilekurt2009-11-091-1/+6
| | | | | | | | | | | | | internally when and where required. Macros in <stdio.h> are updated to automatically call the underlying functions when the process is threaded to obtain the necessary locking. A private mutex is added to protect __sglue, the internal list of FILE handles, and another to protect the one-time initialization. Some routines in libc that use getc() change to use getc_unlocked() as they're either protected by their own lock or aren't thread-safe routines anyway. committing on behalf of and okay guenther@ now that we have install media space available.
* Back out previous commit, as it caused too much growth for the installguenther2009-10-221-6/+1
| | | | media to fit
* Fix the handle locking in stdio to use flockfile/funlockfileguenther2009-10-211-1/+6
| | | | | | | | | | | | internally when and where required. Macros in <stdio.h> are updated to automatically call the underlying functions when the process is threaded to obtain the necessary locking. A private mutex is added to protect __sglue, the internal list of FILE handles, and another to protect the one-time initialization. Some routines in libc that use getc() change to use getc_unlocked() as they're either protected by their own lock or aren't thread-safe routines anyway. ok kurt@, earlier version tested by sthen@ and jj@
* fix a few warnings, keep the crypt stuff for later.espie2005-10-101-1/+2
| | | | okay otto@
* next citrus step.espie2005-06-171-1/+3
| | | | | reviewed by millert, otto, kevlo, naddy, kettenis... libc+libstdc++ bump
* Change internals of FILE: reuse the unget buffer field to access anespie2005-04-301-5/+7
| | | | | | | | | | | | | | | | extended attribute data structure (pimpl idiom). Idea taken from citrus. Much discussion with deraadt@, otto@, millert@... This is the least disruptive way to extend FILE, since its size can't really change without this being a flag day. So the size doesn't change. Actual additions to the structure will come in separate steps, since this change is nasty enough on its own. Tests by otto@ and others, careful reading of code by otto@ and millert@. This is definitely a major bump, and has been checked to not impact a full ports build.
* make sure the implementation matches the prototype..pat2005-03-311-2/+2
| | | | | | char const * -> const char * ok otto@ deraadt@
* ansi + de-registerpat2005-03-301-2/+2
| | | | ok otto deraadt
* fix typo in comment.moritz2005-03-081-2/+2
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Move __cleanup into mprotect'ed page to prevent unintentional modificationsdhartmei2002-09-141-2/+2
| | | | similar to the atexit handlers. Idea and help deraadt@, ok deraadt@
* Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)millert2002-02-171-2/+2
|
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-15/+15
|
* Fix RCS idstholo1996-08-191-3/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* initial import of NetBSD treederaadt1995-10-181-0/+89