]> Zhao Yanbai Git Server - minix.git/commit
utimens(2) system call
authorAntoine Leca <Antoine.Leca.1@gmail.com>
Sat, 24 Dec 2011 14:02:54 +0000 (15:02 +0100)
committerBen Gras <ben@minix3.org>
Fri, 12 Apr 2013 18:55:39 +0000 (18:55 +0000)
commit9131e98a7d2b9cc7302b35606bcd653189a78ae8
tree1ea239d671bd6e2639b721e7d87ad31e62e34ed1
parent88414c568c46469b39d6d529cfb5587365375b6b
utimens(2) system call

Variant of utime(2) with struct timespec (with ns precision)
instead of time_t values; also allows for tv_nsec members
the values UTIME_NOW (force update to current time) or
UTIME_OMIT (allow to set either atim or mtim independently.)

Provides a superset of utimes(2), futimes(2), lutimes(2),
and futimens(2).
Provides the same subset of utimensat(2) as does NetBSD 6.
Also import utimens() and lutimeNS() from NetBSD-current.
19 files changed:
include/minix/callnr.h
lib/libc/gen/Makefile.inc
lib/libc/gen/utimens.c [new file with mode: 0644]
lib/libc/sys-minix/MISSING_SYSCALLS
lib/libc/sys-minix/Makefile.inc
lib/libc/sys-minix/futimens.c [new file with mode: 0644]
lib/libc/sys-minix/futimes.c [new file with mode: 0644]
lib/libc/sys-minix/lutimes.c [new file with mode: 0644]
lib/libc/sys-minix/utimensat.c [new file with mode: 0644]
lib/libc/sys-minix/utimes.c [new file with mode: 0644]
servers/pm/table.c
servers/vfs/param.h
servers/vfs/proto.h
servers/vfs/table.c
servers/vfs/time.c
sys/sys/fcntl.h
sys/sys/stat.h
sys/sys/time.h
usr.sbin/mtree/compare.c