Linux Standard Base Core Specification, Generic Part | ||
---|---|---|
<<< Previous | Next >>> |
The getcwd() functions shall behave as described in POSIX 1003.1-2008 (ISO/IEC 9945-2009), except as noted below.
If buf
is NULL,
memory is allocated for buf
.
If size
is 0,
the allocation size will be the size of the pathname +1,
else the requested size
is allocated.
EINVAL | The | |
ENOENT | The current working directory has been unlinked. |
<<< Previous | Home | Next >>> |
fwscanf | Up | getdomainname |