Files
haiku-beta6/src/bin/coreutils/lib/fprintftime.h
T
Jérôme Duval 554bbb1f37 merging coreutils-5.94 into trunk
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-03 16:15:55 +00:00

13 lines
473 B
C

#include <stdio.h>
#include <time.h>
/* A cross between fprintf and nstrftime, that prints directly
to the output stream, without the need for the potentially
large buffer that nstrftime would require.
Output to stream FP the result of formatting (according to the
nstrftime format string, FMT) the time data, *TM, and the UTC
and NANOSECONDS values. */
size_t fprintftime (FILE *fp, char const *fmt, struct tm const *tm,
int utc, int nanoseconds);