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

NAME

6       explain_fchdir_or_die - change directory and report errors
7

SYNOPSIS

9       #include <libexplian/fchdir.h>
10       void explain_fchdir_or_die(int fildes);
11

DESCRIPTION

13       The  explain_fchdir_or_die function is used to change directory via the
14       fchdir(2) system call.  On failure,  it  prints  an  error  message  on
15       stderr via explain_fchdir(3), and exits.
16
17       This  function  is intended to be used in a fashion similar to the fol‐
18       lowing example:
19              explain_fchdir_or_die(fildes);
20
21       fildes  exactly as to be passed to the fchdir(2) system call.
22

SEE ALSO

24       fchdir(3)
25               change working directory
26
27       explain_fchdir(3)
28               report fchdir(2) errors
29
30       exit(2) terminate the calling process
31
33       libexplain version 1.4
34       Copyright (C) 2008 Peter Miller
35

AUTHOR

37       Written by Peter Miller <pmiller@opensource.org.au>
38
39
40
41                                                      explain_fchdir_or_die(3)
Impressum