Hi,
I've just done
grep -rs tvget.time ksh93/
which has lead to this:
ksh93/src/lib/libast/features/tv: #define tvgetatime(t,s)
((t)->tv_nsec=ST_ATIME_NSEC_GET(s),(t)->tv_sec=(s)->st_atime)
ksh93/src/lib/libast/features/tv: #define tvgetmtime(t,s)
((t)->tv_nsec=ST_MTIME_NSEC_GET(s),(t)->tv_sec=(s)->st_mtime)
ksh93/src/lib/libast/features/tv: #define tvgetctime(t,s)
((t)->tv_nsec=ST_CTIME_NSEC_GET(s),(t)->tv_sec=(s)->st_ctime)
ksh93/src/lib/libast/man/tv.3:.SS "time_t tvgetatime(const struct stat* st,
Tv_t* tv)"
ksh93/src/lib/libast/man/tv.3:.SS "time_t tvgetmtime(const struct stat* st,
Tv_t* tv)"
ksh93/src/lib/libast/man/tv.3:.SS "time_t tvgetctime(const struct stat* st,
Tv_t* tv)"
seems that the macro its self has turned the arguments into the
other possible order than the manual page describes.
Werner
--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers