summaryrefslogtreecommitdiffstats
path: root/upstream/debian-unstable/man2/chdir.2
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/debian-unstable/man2/chdir.2')
-rw-r--r--upstream/debian-unstable/man2/chdir.214
1 files changed, 7 insertions, 7 deletions
diff --git a/upstream/debian-unstable/man2/chdir.2 b/upstream/debian-unstable/man2/chdir.2
index 5aca7bf9..118c53f2 100644
--- a/upstream/debian-unstable/man2/chdir.2
+++ b/upstream/debian-unstable/man2/chdir.2
@@ -10,7 +10,7 @@
.\" Modified 1997-08-21 by Joseph S. Myers <jsm28@cam.ac.uk>
.\" Modified 2004-06-23 by Michael Kerrisk <mtk.manpages@gmail.com>
.\"
-.TH chdir 2 2023-03-30 "Linux man-pages 6.05.01"
+.TH chdir 2 2024-05-02 "Linux man-pages 6.8"
.SH NAME
chdir, fchdir \- change working directory
.SH LIBRARY
@@ -19,16 +19,16 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <unistd.h>
-.PP
+.P
.BI "int chdir(const char *" path );
.BI "int fchdir(int " fd );
.fi
-.PP
+.P
.RS -4
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.RE
-.PP
+.P
.BR fchdir ():
.nf
_XOPEN_SOURCE >= 500
@@ -41,7 +41,7 @@ Feature Test Macro Requirements for glibc (see
changes the current working directory of the calling process to the
directory specified in
.IR path .
-.PP
+.P
.BR fchdir ()
is identical to
.BR chdir ();
@@ -92,7 +92,7 @@ Insufficient kernel memory was available.
A component of
.I path
is not a directory.
-.PP
+.P
The general errors for
.BR fchdir ()
are listed below:
@@ -115,7 +115,7 @@ POSIX.1-2001, SVr4, 4.4BSD.
.SH NOTES
The current working directory is the starting point for interpreting
relative pathnames (those not starting with \[aq]/\[aq]).
-.PP
+.P
A child process created via
.BR fork (2)
inherits its parent's current working directory.