summaryrefslogtreecommitdiff
path: root/lib/libc/stdio
AgeCommit message (Expand)Author
2009-06-02Set errno to EINVAL when fgets is given a non-positive size.Ray Lai
2009-04-05accept %F, which actually behaves the same as %f. per C99Martynas Venckus
2009-03-20Return -1 from mktemp_internal() on EINVAL like we used to.Todd C. Miller
2009-03-01Update to match mktemp.c changesTodd C. Miller
2009-03-01New mktemp(3) based on the one from portable mktemp(1). Now includesTodd C. Miller
2009-02-17when the template is entirely XXX characters, would crashTheo de Raadt
2009-01-29from Yoshihiko Sarumaru, freebsd pr #76333: fseek(3) can clear EOF too;Jason McIntyre
2009-01-10The process number is longer used to replace trailing 'Xs'.Tobias Stoeckmann
2008-10-21use decimal point from locale. ok millert@Martynas Venckus
2008-09-15add missing header needed by strlen().Charles Longeau
2008-09-15- describe how printf(1) and printf(3) %e, %E, %g, %G, %a, %A behaveMartynas Venckus
2008-09-14describe %a/%A. from freebsdMartynas Venckus
2008-09-07- replace dtoa w/ David's gdtoa, version 2008-03-15Martynas Venckus
2008-08-27comment fixesMartynas Venckus
2008-08-26- add FMartynas Venckus
2008-08-26don't zero-pad special values. ok millert@Martynas Venckus
2008-08-22Replace the old algorithm that included the process id as part of theTodd C. Miller
2008-08-21Remove useless code, the kernel will set errno appropriately if anTodd C. Miller
2008-07-22use arc4random_uniform(); ok djm millertTheo de Raadt
2008-07-10- handle sign of negative zero. use sign dtoa setsMartynas Venckus
2008-05-16Fix ssize_t vs. size_t mismatchTodd C. Miller
2008-05-16C99 says that for each va_copy() there must be a matching va_end().Todd C. Miller
2008-05-13Don't forget to va_end() the va_list we get from va_copy(). From FreeBSD.Todd C. Miller
2008-05-05add missing header for getpagesizeCharles Longeau
2008-05-03add missing header for closeCharles Longeau
2008-04-21_file is only a short, so prevent truncation if we happen to hitOtto Moerbeek
2007-11-28%hhd was being printed as if %hd was specifiedTheo de Raadt
2007-10-21Comment fix about time consumption of _gettemp.Tobias Stoeckmann
2007-09-21Add some more truncation checks for path construction in tmpnam(3).Moritz Jodeit
2007-09-17Prevent out-of-bounds memory access in tempnam(3), if the environmentMoritz Jodeit
2007-09-07Say NUL when referring to \0Chad Loder
2007-08-08Show how to use strcspn(3) to trim newlines.Ray Lai
2007-06-21The `len' argument is guaranteed to be > 0 upon successful completion.Moritz Jodeit
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-12Document errno usage. From Tobias Stoeckmann.Ray Lai
2007-05-10grammar,Marc Espie
2007-04-01clarify return values, prompted by moritz; ok moritz jmcTheo de Raadt
2007-01-30Remove and simplify an impossible case (if *p = memchr(cp, 0, prec),Ray Lai
2007-01-29add an ENVIRONMENT section for TMPDIR;Jason McIntyre
2007-01-16Fix potential int overflow for printf(3) when passing in very largeTodd C. Miller
2006-11-26try first mmap() allocation at pagesize, no need to re-mmap at every powerTheo de Raadt
2006-10-30suceed -> succeed; from chad doughertyJason McIntyre
2006-10-29make __dtoa & strtod() thread-safe useing the same method as newer gdtoaTheo de Raadt
2006-10-15mark up `>';Jason McIntyre
2006-10-14Add a CAVEAT section that describes how to properly trim a newline fromChad Loder
2006-10-14Make fgets description much clearer with respect to its exact behavior.Chad Loder
2006-04-29check mmap for failure. the helper functions using it return -1, butTed Unangst
2006-03-19Remove extraneous cast to malloc call in fgetln example.Ray Lai
2006-01-13Pull in inttypes.h, not stdint.h so we get the prototypes forTodd C. Miller
2006-01-13Use long long and intmax_t instead of quad_t throughout. Adapted inTodd C. Miller