thanks

what does <fcntl.h> provide to the example below?
the posix ref I have only requires <sys/stat.h>

On Mon, 8 Mar 2010 12:03:16 +0100 (CET) Petr Salinger wrote:
>          #include <fcntl.h>
>          static struct timespec ts[2];
>          int
>          main()
>          {
>                  ts[0].tv_nsec = UTIME_NOW;
>                  ts[1].tv_nsec = UTIME_OMIT;
>                  return utimensat(AT_FDCWD, ".", ts, AT_SYMLINK_NOFOLLOW) != 
> 0;
>          }

_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to