1explain_futimes_or_die(3)  Library Functions Manual  explain_futimes_or_die(3)
2
3
4

NAME

6       explain_futimes_or_die - change file timestamps and report errors
7

SYNOPSIS

9       #include <libexplain/futimes.h>
10       void explain_futimes_or_die(int fildes, const struct timeval *tv);
11

DESCRIPTION

13       The explain_futimes_or_die function is used to call the futimes(3) sys‐
14       tem call.  On  failure  an  explanation  will  be  printed  to  stderr,
15       obtained  from  explain_futimes(3),  and then the process terminates by
16       calling exit(EXIT_FAILURE).
17
18       This function is intended to be used in a fashion similar to  the  fol‐
19       lowing example:
20              explain_futimes_or_die(fildes, tv);
21
22       fildes  The  fildes,  exactly  as to be passed to the futimes(3) system
23               call.
24
25       tv      The tv, exactly as to be passed to the futimes(3) system call.
26
27       Returns:
28               This function only returns on success.  On failure,  prints  an
29               explanation and exits.
30

SEE ALSO

32       futimes(3)
33               change file timestamps
34
35       explain_futimes(3)
36               explain futimes(3) errors
37
38       exit(2) terminate the calling process
39
41       libexplain version 1.4
42       Copyright (C) 2008 Peter Miller
43
44
45
46                                                     explain_futimes_or_die(3)
Impressum