4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-06 22:40:36 +08:00
Jeff Johnston ae6c4c8421 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/utime.h: Add include of <_ansi.h>.
        * libc/sys/linux/Makefile.am: Add utimes.c.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/inode.c(__umask): New static routine.
        (umask): Written to use __umask and attempt to thread lock.
        (getumask): New function written to use __umask and thread lock.
        * libc/sys/linux/utimes.c: New file.
        * libc/sys/linux/sys/time.h: Fix utimes prototype.
        * libc/sys/linux/sys/utime.h: New file.
2002-07-04 22:51:08 +00:00

15 lines
280 B
C

#ifndef _SYS_UTIME_H
#define _SYS_UTIME_H 1
#include <sys/types.h>
struct utimbuf
{
time_t actime; /* Access time. */
time_t modtime; /* Modification time. */
};
int _EXFUN(utime, (const char *__file, const struct utimbuf *__times));
#endif /* _SYS_UTIME_H */