christos
92a95e7ba4
document vsnprintf_ss
2010-12-22 16:59:10 +00:00
christos
97fddff649
add man page as promised.
2010-09-24 21:50:56 +00:00
tnozaki
93b7363c93
add fmemopen(3) derrived from POSIX:2008.
...
libc minor bump.
2010-09-24 09:21:53 +00:00
christos
4ddc2fb37c
add dprintf and vdprintf
2010-09-06 14:52:55 +00:00
roy
d4a3cf6a5a
Add implementations for getdelim(3) and getline(3).
2009-07-13 22:19:24 +00:00
christos
d228a772b3
enable wide doubles.
2007-02-03 00:28:56 +00:00
christos
abca035cf3
Add signal-safe versions of snprintf and vsnprintf
2006-10-27 19:59:58 +00:00
christos
c975cdc86c
- s/notyet/WIDE_DOUBLE/
...
- Add a little more glue for WIDE_DOUBLE; not done yet.
- s/def FLOATING_POINT/ndef NO_FLOATING_POINT/ to reduce diffs with FreeBSD.
- fix memory leak where each double formatted leaked 24 by calling __freedtoa()
appropriately. the new gdtoa keeps a list of memory chunks allocated by
malloc(), and it must maintained properly by calling __freedtoa() on the
results of __dtoa() Hi Klaus!
- in vfwprintf() make cvt return char * and convert it using __mbsconv(),
instead of having it return wchar_t *.
This should fix the memory leaks people have been reporting (eg. in top etc.)
2006-02-16 23:26:19 +00:00
christos
1cf13731b1
PR/30845: Luke Mewburn: strerror_r(3) missing
...
- Merge 4.4BSD strerror.3 man page changes that summarize information
for all the error printing functions. This makes the perror(3) page
obsolete.
- Implement all error functions in terms of strerror_r(), including
__strerror() which is not used internally. Can it be removed?
- Bump version for strerror_r
2005-07-28 16:26:29 +00:00
lukem
0f879c5d2a
vfwprintf.c and vfwscanf.c now compile with -Wuninitialized
2005-06-12 05:49:12 +00:00
lukem
7fbaf47f83
Compile the following files with -Wno-uninitialized:
...
vfprintf.c See rev 1.46 for why we can't fix this.
vfwprintf.c Needs some effort
vfwscanf.c Needs some effort
2005-06-01 11:06:01 +00:00
christos
f432bbb6fd
Add the missing wide char support functions from freebsd.
...
XXX: long double support is missing until we get gdtoa, and add the
necessary wide functions.
2005-05-14 23:51:02 +00:00
drochner
1626697cbc
remove the fgetstr manpage
2004-05-10 17:02:21 +00:00
kleink
a060c8818b
We now need an internal name for fileno(), since when buildling libc
...
_REENTRANT we can no longer use the macro version from <stdio.h>.
2004-05-09 17:27:53 +00:00
christos
6321f42fe9
Add a generalized version of fgetln that can stop at an arbitrary delimiter,
...
and implement fgetln on top of that.
2004-04-21 00:01:57 +00:00
tshiozak
5abc4b4f43
add fgetws() and fputws() (lib/20576).
...
Note: fgetws.c, fgetws.3, fputws.c and fputws.3 are obtained from FreeBSD,
and fitted by sigsegv@infoseek.jp and me.
2003-03-07 07:11:35 +00:00
kleink
5b62d84e6e
Add a manual page for flockfile(3) etc.; while here, also add *_unlocked()
...
to stdio(3) overview documentation. Fixes PR lib/20096 from Jason Thorpe.
2003-01-28 20:26:04 +00:00
thorpej
3fdac2b8c5
Merge the nathanw_sa branch.
2003-01-18 10:52:16 +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
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
kleink
6213f73707
Document getc_unlocked(3), getchar_unlocked(3), putc_unlocked(3) and
...
putchar_unlocked(3); fixes PR lib/11340.
2001-04-25 22:06:53 +00:00
kleink
dae360611f
XCU5: Add fseeko() and ftello() functions which provide the functionality of
...
fseek() and ftell(), respectively, but operate on file offsets of type off_t.
2000-07-08 13:46:33 +00:00
perry
315aabd347
make sure asprintf and vasprintf get MLINKS to printf.3
1998-08-30 23:29:18 +00:00
perry
253ef37df2
add asprintf and vasprintf, originally written by Todd Miller for OpenBSD
1998-08-28 21:33:10 +00:00
mycroft
0bbc075c20
Document mkdtemp(3).
1998-07-27 16:41:40 +00:00
mycroft
cbb3325e89
Actually, FreeBSD calls this mkdtemp(). No point in creating a new name.
1998-07-27 16:12:01 +00:00
mycroft
7daf213c0f
Add a mktempdir(), like mkstemp(), but it creates a directory.
1998-07-27 16:05:07 +00:00
mycroft
c427e33070
If AUDIT, do not compile certain functions.
1998-07-27 13:36:43 +00:00
lukem
d0e23d974a
- use CPPFLAGS instead of CFLAGS
...
- use ${COMPILE.C} ... instead of ${CC} ${CFLAGS} -c ...
1997-10-22 23:14:04 +00:00
kleink
f87eccf5b4
RCSid police
1997-04-02 12:50:23 +00:00
cgd
3d5508dc07
mktemp.c belongs here, not gen/Makefile.inc
1995-02-25 17:06:28 +00:00
jtc
edead1feee
revert
1995-02-02 02:16:48 +00:00
cgd
ae9172d6cd
specify man pages the new way.
1994-12-22 09:57:51 +00:00
mycroft
e9d5734eb6
Move FLOATING_POINT definition into Makefile.inc.
1994-09-19 04:43:02 +00:00
cgd
02254e0c37
rename fgetline() and sharpen axe for bostic...
1994-01-04 05:16:44 +00:00
cgd
c8c15b1c4c
don't compiler strerror.c source here, and clean up.
1993-10-18 20:24:34 +00:00
jtc
473c152a0a
Moved strerror.[c3] from libc/stdio to libc/string.
...
Since perror is not permitted to change strerror()'s static buffer, I have
changed both functions to pass their own buffers to the new library-internal
function _strerror() that actually does the error message string look up.
Split strerror manpage into strerror and perror manpages.
1993-10-07 19:27:50 +00:00
mycroft
cda4f8f6ee
Add RCS identifiers.
1993-08-01 05:37:30 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00