4.3BSD-Tahoe/usr/man/cat3f/getcwd.0

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




GETCWD(3F)	    UNIX Programmer's Manual	       GETCWD(3F)



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 other-
     wise.

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>.

































Printed 7/9/88		  May 15, 1985				1