OAR

RTEMS 4.5.1-pre3 On-Line Library


Files and Directories Manager utime - Change access and/or modification times of an inode

PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

4.4.28: utime - Change access and/or modification times of an inode

CALLING SEQUENCE:

#include <sys/types.h>

int utime(
  const char     *filename,
  struct utimbuf *buf
);

STATUS CODES:

EACCES
Permission to write the file is denied
ENOENT
Filename does not exist

DESCRIPTION:

Utime changes the access and modification times of the inode specified by filename to the actime and modtime fields of buf respectively. If buf is NULL, then the access and modification times of the file are set to the current time.

NOTES:

NONE


PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-2000 OAR Corporation