*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: getwd | Section: 3 | Source: UNIX v10 | File: getwd.3
GETWD(3) Library Functions Manual GETWD(3) NAME getwd, getcwd - get current directory SYNOPSIS char *getwd(buf) char *buf; char *getcwd(buf, size) char *buf; DESCRIPTION Getwd and getcwd fill buf with a null-terminated string representing the current directory and return buf. Getwd is in the style of BSD systems and getcwd in that of System V. If buf is 0, getcwd will call malloc(3) to allocate size bytes for the buffer. SEE ALSO pwd(1) DIAGNOSTICS On error, zero is returned and buf is filled with a diagnostic message. GETWD(3)

Navigation Options