X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Ffutimens.c;h=ff7c7b4d367caa4071eb6a8416b74a51d3e876bd;hb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;hp=f2537470503a0b35f16da671c9151824e8a31e5a;hpb=959d9cb463d992f9c5cc2fbeb54bf12eee2346f7;p=pspp diff --git a/lib/futimens.c b/lib/futimens.c index f253747050..ff7c7b4d36 100644 --- a/lib/futimens.c +++ b/lib/futimens.c @@ -1,5 +1,5 @@ /* Set the access and modification time of an open fd. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009, 2010 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -25,13 +25,13 @@ /* Set the access and modification time stamps of FD to be TIMESPEC[0] and TIMESPEC[1], respectively. Fail with ENOSYS on systems without futimes (or equivalent). - If TIMESPEC is null, set theh time stamps to the current time. + If TIMESPEC is null, set the time stamps to the current time. Return 0 on success, -1 (setting errno) on failure. */ int -futimens (int fd, const struct timespec times[2]) +futimens (int fd, struct timespec const times[2]) { /* fdutimens also works around bugs in native futimens, when running with glibc compiled against newer headers but on a Linux kernel - older than 2.6.26. */ + older than 2.6.32. */ return fdutimens (NULL, fd, times); }