kleink
56068ec670
Don't return immediately if EOF encountered while matching format string white
...
space in the input stream since there may be `conversion' specifiers following
the (format string) white space that do not operate on the input stream,
i.e. %n; from Chris Torek.
1998-10-25 18:25:43 +00:00
dbj
f9bda95727
Backed out previous fclose(NULL) change.
1998-10-18 23:48:18 +00:00
dbj
f8b2da8194
Fix pr lib/6322
...
fclose(NULL) used to segfault. Now it returns EOF and sets errno to EBADF.
1998-10-18 19:27:33 +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
kleink
73ef151b8c
Need an internal name for fgetln().
1998-10-16 12:39:54 +00:00
mycroft
ef3079f0ee
Make sure we free the buffer in all error cases.
...
Do the final realloc(3) to the size of the string, not the size of the buffer
allocated for the string (which is a noop).
1998-10-15 07:36:09 +00:00
mycroft
285284da77
Allocate space exponentially, not linearly.
1998-10-15 07:10:38 +00:00
kleink
abc6d45e5c
Need "namespace.h".
1998-10-14 11:56:28 +00:00
kleink
f5092a6c94
Need an internal name for isatty().
1998-10-13 15:05:02 +00:00
kleink
d541ca6d80
Need internal names for isinf() and isnan().
1998-10-13 14:43:36 +00:00
kleink
ee1afe8b7c
Need internal names for snprintf() and vsnprintf().
1998-10-13 14:19:21 +00:00
kleink
8b3da7b7a8
Need an internal name for fdopen().
1998-10-13 14:07:04 +00:00
tv
ff03cd6580
Document %ll[diouxX] as requested by <bgrayson@ece.utexas.edu> in PR
...
standards/3527. Also describe the argument to such a format as "quad_t",
not "quad int".
1998-09-14 21:10:18 +00:00
kleink
1d1861e253
Make the fseek() return value description match XSH5 (again).
1998-09-09 20:17:27 +00:00
kleink
36bf9c3062
Typo; from Michael Richardson <mcr@sandelman.ottawa.on.ca> in PR misc/6053.
1998-09-09 19:51:39 +00:00
kleink
127dfcd147
Since perror() must be reentrant, change the storage class of the buffer used
...
to hold the error message from static to automatic.
1998-09-09 12:15:55 +00:00
kleink
0cca1fcb27
Perform stdio stream locking as appropriate.
1998-09-09 12:08:05 +00:00
kleink
96deb0c4ec
s/c_plusplus/__cplusplus/
1998-09-08 15:10:12 +00:00
kleink
83d4043d4c
s/NULL/NUL/ where appropriate.
1998-09-08 14:13:36 +00:00
kleink
100b813fad
Deploy stdio stream locking as necessary.
1998-09-07 14:37:13 +00:00
kleink
caa80a1e72
Sloppy stdio stream lock tracking.
1998-09-07 14:31:57 +00:00
kleink
18a528c1cf
Minor KNF nit.
1998-09-07 14:22:30 +00:00
kleink
77c6af31c7
Sloppy stdio stream lock tracking.
1998-09-06 16:37:27 +00:00
perry
315aabd347
make sure asprintf and vasprintf get MLINKS to printf.3
1998-08-30 23:29:18 +00:00
lukem
ce83c69e00
first pass at fixing up capitalization of function names and
...
arguments; ensure that each is correct with respect to the
implementation, rather than being correct as per english.
1998-08-29 08:32:32 +00:00
perry
05ffc15e02
document asprintf and vasprintf
1998-08-28 22:21:23 +00:00
perry
253ef37df2
add asprintf and vasprintf, originally written by Todd Miller for OpenBSD
1998-08-28 21:33:10 +00:00
mycroft
0816a4773b
Update the date on this man page.
1998-07-28 17:11:12 +00:00
mycroft
f1f53ef7e8
Add an internal name for perror(3).
1998-07-28 12:22:31 +00:00
mycroft
0bbc075c20
Document mkdtemp(3).
1998-07-27 16:41:40 +00:00
mycroft
90cb894b40
Mention mkdtemp() in the warnings.
1998-07-27 16:39:11 +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
1b5106953f
Delint (partially).
1998-07-27 14:04:01 +00:00
mycroft
201e4eaca0
If AUDIT, do not compile certain functions.
1998-07-27 13:42:27 +00:00
mycroft
c427e33070
If AUDIT, do not compile certain functions.
1998-07-27 13:36:43 +00:00
mycroft
c18a540460
Minor nit.
1998-07-26 13:55:44 +00:00
mycroft
eb69773cbb
const poisoning.
1998-07-26 13:51:44 +00:00
mycroft
dae9fd960e
const poisoning.
1998-07-26 12:35:24 +00:00
mycroft
be9c427d60
const poisoning.
1998-07-26 12:29:33 +00:00
jeremy
20de71c33e
Changed HISTORY section to reflect that vsnprintf and snprintf first
...
appeared in 4.4BSD, rather than ``the current release''.
1998-06-08 23:45:37 +00:00
lukem
fc90756956
Implement a new manual page category ``SECURITY CONSIDERATIONS''
...
(suggested by mycroft)
1998-06-08 12:41:41 +00:00
kleink
01709792a9
Need <stdlib.h> for mkstemp() prototype.
1998-06-01 20:19:46 +00:00
kleink
c1d274c3ee
Need <stdlib.h> for mkstemp() and mktemp() prototypes.
1998-06-01 20:17:50 +00:00
kleink
4c4cda3733
Prototypes have moved: change inclusion of <unistd.h> to <stdlib.h>.
1998-06-01 20:16:37 +00:00
fair
a27dd1341b
"System V" -> ".At V"
1998-04-28 20:59:29 +00:00
fair
8e1d7f3de1
fix mdoc references and other mistakes
1998-04-28 20:58:00 +00:00
fair
dc026e0515
Change occurrences of "UNIX" to .Ux or .At as appropriate.
1998-04-28 06:00:51 +00:00
lukem
c197a64bba
don't assume buf is NL_TEXTMAX long
1998-02-16 11:27:15 +00:00