unmap (user) address space early enough to allow sleep (if releasing
[unix-history] / usr / src / bin / pwd / pwd.1
CommitLineData
b5dc1377
CL
1.\" Copyright (c) 1990 The Regents of the University of California.
2.\" All rights reserved.
69f0efa6 3.\"
b5dc1377 4.\" %sccs.include.redist.man%
69f0efa6 5.\"
d0719240 6.\" @(#)pwd.1 6.4 (Berkeley) %G%
b5dc1377 7.\"
ee9b0a0a
CL
8.Vx
9.Vx
b5dc1377
CL
10.Dd
11.Dt PWD 1
12.Os BSD 4
13.Sh NAME
14.Nm pwd
15.Nd return working directory name
16.Sh SYNOPSIS
17.Nm pwd
18.Sh DESCRIPTION
19.Nm Pwd
20writes the absolute pathname of the current working directory to
21the standard output.
22.Pp
23The pwd utility exits 0 on success, and >0 if an error occurs.
24.Sh STANDARDS
25The pwd function is expected to be POSIX 1003.2 compatible
26.Sh SEE ALSO
27.Xr cd 1 ,
28.Xr csh 1 ,
29.Xr getwd 3
30.Sh BUGS
69f0efa6 31In
b5dc1377 32.Xr csh 1
69f0efa6 33the command
b5dc1377 34.Ic dirs
69f0efa6
KM
35is always faster (although it can give a different answer in the rare case
36that the current directory or a containing directory was moved after
37the shell descended into it).