Query: getcwd
OS: minix
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GETCWD(3) Library Functions Manual GETCWD(3)NAMEgetcwd - get current working directory pathnameSYNOPSIS#include <unistd.h> char *getcwd(char *pathname, size_t len)DESCRIPTIONGetcwd copies the absolute pathname of the current working directory to pathname and returns a pointer to the result. Pathname is a char- acter array of length len.DIAGNOSTICSGetcwd returns a null pointer and sets errno if an error occurs. The error will reflect the system call errors that may occur if the path to the current directory is searched upwards to the root directory. The error ERANGE is returned if the result does not fit within len bytes. 4.2 Berkeley Distribution May 12, 1986 GETCWD(3)
Related Man Pages |
---|
getwd(3) - mojave |
get_current_dir_name(3) - redhat |
getwd(3) - suse |
getwd(3) - netbsd |
getwd(3) - osx |
Similar Topics in the Unix Linux Community |
---|
getcwd: permission denied error |
shell-init: could not get current directory: getcwd: cannot access parent directories |
getcwd problem. |
Getcwd |
Getcwd performance issues |