aboutsummaryrefslogtreecommitdiffstats
path: root/man3/getpwnam.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-12-22 16:40:46 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-12-22 16:40:46 +0000
commit94e9d9febdb3c68f94bcff26002311fa464837df (patch)
tree3a855c552ff4049052ef3cf9dc7c2f68cee7e03e /man3/getpwnam.3
parent009df872f730972ec53a70652959c7b47c7ece8b (diff)
downloadman-pages-94e9d9febdb3c68f94bcff26002311fa464837df.tar.gz
Replace "-" by "\-" where a real dash is required.
Diffstat (limited to 'man3/getpwnam.3')
-rw-r--r--man3/getpwnam.34
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/getpwnam.3 b/man3/getpwnam.3
index d2e0cf1e70..c5d2b0ec46 100644
--- a/man3/getpwnam.3
+++ b/man3/getpwnam.3
@@ -218,12 +218,12 @@ An application that wants to determine its user's home directory
should inspect the value of
.B HOME
(rather than the value
-.IR getpwuid(getuid())->pw_dir )
+.IR getpwuid(getuid())\->pw_dir )
since this allows the user to modify their notion of
"the home directory" during a login session.
To determine the (initial) home directory of another user,
it is necessary to use
-.I getpwnam("username")->pw_dir
+.I getpwnam("username")\->pw_dir
or similar.
.SH "SEE ALSO"
.BR endpwent (3),