4.4BSD/usr/share/man/cat3f/getcwd.0

Compare this file to the similar file:
Show the results in this format:

F>=1  .if 3F<=8 .    if 3F>1 .if 3F<6 .ds an-extra3 "BSD Program-



GETCWD(3F)             BSD Reference Manual            GETCWD(3F)

mer's Manual
NNAAMMEE
       getcwd - get pathname of current working directory

SSYYNNOOPPSSIISS
       iinntteeggeerr ffuunnccttiioonn ggeettccwwdd ((ddiirrnnaammee))
       cchhaarraacctteerr**((**)) ddiirrnnaammee

DDEESSCCRRIIPPTTIIOONN
       The pathname of the default  directory  for  creating  and
       locating  files will be returned in _d_i_r_n_a_m_e_.  The value of
       the function will be zero if  successful;  an  error  code
       otherwise.

FFIILLEESS
       /usr/lib/libU77.a

SSEEEE AALLSSOO
       chdir(3F), perror(3F)

BBUUGGSS
       Pathnames  can  be no longer than MAXPATHLEN as defined in
       <_s_y_s_/_p_a_r_a_m_._h>.































4.2 Berkeley Distribution  June 5, 1993                         1