en

getcwd.3


Introduction to Library Functions                       GETCWD(3)

NAME
     getcwd - return absolute path to current directory

SYNOPSIS
          #include <ast.h>

          char* getcwd(char* buf, size_t len);

DESCRIPTION
     getcwd copies the absolute path name of the  current  direc-
     tory  info  into  buf of length len.  The return path may be
     longer than PATH_MAX.  If buff == 0 then space is  allocated
     via  malloc(3)  and  len extra characters are reserved after
     the generated path name.  A pointer  to  the  path  name  is
     returned, 0 on error.

SEE ALSO
     pathcd(3)

SunOS 5.10                Last change:                          1


Generated by GNU enscript 1.6.4.

Tags:
Created by admin on 2009/10/26 12:14
Last modified by admin on 2009/10/26 12:14

Collectives

Project ksh93-integration Pages


XWiki Enterprise 2.7.1.34853 - Documentation