summaryrefslogtreecommitdiffstats
path: root/include/stdio.h
Commit message (Collapse)AuthorAgeFilesLines
* Removed nonstandard #include of <sys/types.h>.bde1997-04-131-8/+29
| | | | | | | Use _BSD_OFF_T_ instead of off_t so that we're still self-sufficent. Copied the ftruncate/lseek()/mmap()/truncate() redeclaration hacks from <sys/types.h> so that things depending on them don't break.
* Merge Lite2 changespeter1997-03-111-2/+2
| | | | (Just version number)
* increase L_cuserid because UT_NAMESIZE increasedache1997-03-021-2/+2
|
* Revert $FreeBSD$ to $Id$peter1997-02-231-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* improve comments for UT_NAMESIZEwosch1996-10-271-2/+5
|
* remove zopen, zopen is not part of libc.wosch1996-07-021-1/+0
|
* Add an implementation of the gnu-ish asprintf() and vasprintf(). They arepeter1996-05-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | not based on gpl'ed code, just prototype and usage. I'm not 100% certain they behave the same while the system is in trouble (eg: malloc() failing) but in those circumstances all bets would be off anyway. These routines work like sprintf() and vsprintf(), except that instead of using a fixed buffer, they allocate memory and return it to the user and it's the user's responsibility to free() it. They have allocate as much memory as they need (and can get), so the size of strings it can deal with is limited only by the amount of memory it can malloc() on your behalf. There are a few gpl'ed programs starting to use this interface, and it's becoming more common with the scares about security risks with sprintf(). I dont like the look of the code that the various programs (including cvs, gdb, libg++, etc) provide if configure can't find it on the system. It should be possible to modify the stdio core code to provide this interface more efficiently, I was more worried about having something that worked and was secure. :-) (I noticed that there was once intended to be a smprintf() routine when our stdio was written for 4.4BSD, but it looks pretty stillborn, and it's intended interface is not clear). Since Linux and gnu libc have this interface, it seemed silly to bring yet another one onto the scene.
* Fix incorrect parameter types for ftell and fgets.paul1996-03-241-2/+2
|
* Fix a bunch of spelling errors in the comment fieldsmpp1996-01-301-2/+2
| | | | of a bunch of system include files.
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* make sys_nerr __const.phk1995-03-041-1/+1
| | | | | Reviewed by: phk Submitted by: ollivier
* BSD 4.4 Lite Include Sourcesrgrimes1994-05-241-0/+378
OpenPOWER on IntegriCloud