luaposix 33.4.0 Reference

# Module `posix.utime`

Set File Times.

## Functions

utime (path[, mtime=now[, atime=now]]) | Change file last access and modification times.

## Functions

utime (path[, mtime=now[, atime=now]])
  Change file last access and modification times.

  ### Parameters:

  - path string existing file path
  - mtime int modification time (default now)
  - atime int access time (default now)

  ### Returns:

  int `0`, if successful

  ### Or

  1. nil
  2. string error message
  3. int errnum

  ### See also:

  utime(2)

generated by LDoc 1.4.3 Last updated 2016-02-27 14:10:34