Annotation of 43BSDReno/lib/libc/gen/getwd.3, revision 1.1.1.1

1.1       root        1: .\" Copyright (c) 1983 Regents of the University of California.
                      2: .\" All rights reserved.  The Berkeley software License Agreement
                      3: .\" specifies the terms and conditions for redistribution.
                      4: .\"
                      5: .\"    @(#)getwd.3     6.2 (Berkeley) 5/12/86
                      6: .\"
                      7: .TH GETWD 3 "May 12, 1986"
                      8: .UC 5
                      9: .SH NAME
                     10: getwd \- get current working directory pathname
                     11: .SH SYNOPSIS
                     12: .nf
                     13: .B char *getwd(pathname)
                     14: .B char *pathname;
                     15: .fi
                     16: .SH DESCRIPTION
                     17: .I Getwd
                     18: copies the absolute pathname of the current working directory to
                     19: .I pathname
                     20: and returns a pointer to the result.
                     21: .SH LIMITATIONS
                     22: Maximum pathname length is MAXPATHLEN characters (1024),
                     23: as defined in
                     24: .I <sys/param.h>.
                     25: .SH DIAGNOSTICS
                     26: .I Getwd
                     27: returns zero and places a message in
                     28: .I pathname
                     29: if an error occurs.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.