Unix/Linux Go Back    


BSD 2.11 - man page for getwd (bsd section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


GETWD(3)										 GETWD(3)

NAME
       getwd - get current working directory pathname

SYNOPSIS
       char *getwd(pathname)
       char *pathname;

DESCRIPTION
       Getwd  copies  the  absolute  pathname  of  the	current working directory to pathname and
       returns a pointer to the result.

LIMITATIONS
       Maximum pathname length is MAXPATHLEN characters (1024), as defined in <sys/param.h>.

DIAGNOSTICS
       Getwd returns zero and places a message in pathname if an error occurs.

4.2 Berkeley Distribution		   May 12, 1986 				 GETWD(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 01:42 PM.