1explain_fpathconf_or_die(3)Library Functions Manualexplain_fpathconf_or_die(3)
2
3
4

NAME

6       explain_fpathconf_or_die - get file configuration and report errors
7

SYNOPSIS

9       #include <libexplain/fpathconf.h>
10       long explain_fpathconf_or_die(int fildes, int name);
11

DESCRIPTION

13       The  explain_fpathconf_or_die function is used to call the fpathconf(3)
14       system call.  On failure an explanation  will  be  printed  to  stderr,
15       obtained  from explain_fpathconf(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              long result = explain_fpathconf_or_die(fildes, name);
21
22       fildes  The  fildes, exactly as to be passed to the fpathconf(3) system
23               call.
24
25       name    The name, exactly as to be passed to  the  fpathconf(3)  system
26               call.
27
28       Returns:
29               This  function  only  returns  on success, see fpathconf(3) for
30               more information.  On failure, prints an explanation and exits.
31

SEE ALSO

33       fpathconf(3)
34               get configuration values for files
35
36       explain_fpathconf(3)
37               explain fpathconf(3) errors
38
39       exit(2) terminate the calling process
40
42       libexplain version 1.4
43       Copyright (C) 2008 Peter Miller
44
45
46
47                                                   explain_fpathconf_or_die(3)
Impressum