home *** CD-ROM | disk | FTP | other *** search
- /****************************************************************************
- *
- * $Source: /unixb/home/unixlib/source/unixlib37/src/clib/h/RCS/utime,v $
- * $Date: 1996/10/30 21:57:16 $
- * $Revision: 1.1 $
- * $State: Rel $
- * $Author: unixlib $
- *
- * $Log: utime,v $
- * Revision 1.1 1996/10/30 21:57:16 unixlib
- * Initial revision
- *
- ***************************************************************************/
-
- /* POSIX Standard: 5.6.6 Set File Access and Modification Times <utime.h> */
-
- #ifndef __UTIME_H
- #define __UTIME_H 1
-
- #include <stddef.h>
- #include <unixlib/types.h>
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- /* Structure describing file times. */
- struct utimbuf
- {
- __time_t actime; /* Access time. */
- __time_t modtime; /* Modification time. */
- };
-
- /* Set the access and modification times of FILE to those given in TIMES.
- If TIMES is NULL, set them to the current time. */
- extern int utime (const char *file, const struct utimbuf *times);
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif
-