summaryrefslogtreecommitdiff
path: root/lib/Makefile.am
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-09-16 07:31:29 +0000
committerJim Meyering <jim@meyering.net>2005-09-16 07:31:29 +0000
commit0277ce3913951f49412ffabb09ed7ea1dc44a1a9 (patch)
treededeb1828d6010a5dc50144e30411df6de1685f5 /lib/Makefile.am
parentab526003e4d96ff963448f05c6809febb0475a5b (diff)
downloadcoreutils-0277ce3913951f49412ffabb09ed7ea1dc44a1a9.tar.xz
[FPRINTFTIME] (fprintftime): Provide a new interface:
size_t fprintftime (FILE *fp, char const *fmt, struct tm const *tm, int utc, int nanoseconds); Background: date should not have to allocate a megabyte of virtual memory to handle a format argument like +%1048575T. When implemented with strftime, it must allocate such a buffer, use strftime to fill it in, print it, then free it. With fprintftime, it simply prints everything and exits. With no need for memory allocation, that's one fewer way to fail.
Diffstat (limited to 'lib/Makefile.am')
0 files changed, 0 insertions, 0 deletions