Annotation of coherent/a/usr/man/COHERENT/getwd, revision 1.1.1.1

1.1       root        1: 
                      2: 
                      3: getwd()                  General Function                 getwd()
                      4: 
                      5: 
                      6: 
                      7: 
                      8: Get current working directory name
                      9: 
                     10: cchhaarr *ggeettwwdd()
                     11: 
                     12: The current  working directory is  the directory from  which file
                     13: name searches  commence when a pathname does  not begin with `/'.
                     14: getwd returns  the name of the current  working directory.  It is
                     15: useful  for processes  that need to  generate full  pathnames for
                     16: files, such as spoolers and daemons.
                     17: 
                     18: If the  invoker does not have permission to  search all levels of
                     19: directory hierarchy  above the current directory,  getwd will not
                     20: be able to obtain the directory name.
                     21: 
                     22: ***** See Also *****
                     23: 
                     24: chdir(), general functions, pwd
                     25: 
                     26: ***** Diagnostics *****
                     27: 
                     28: getwd returns NULL if the current directory cannot be found.
                     29: 
                     30: ***** Notes *****
                     31: 
                     32: The return value points to a  static area that is limited in size
                     33: to 400 characters.  getwd will fail if the current directory name
                     34: is longer.
                     35: 
                     36: The working directory may not be restored to its initial value if
                     37: getwd fails.
                     38: 
                     39: 
                     40: 
                     41: 
                     42: 
                     43: 
                     44: 
                     45: 
                     46: 
                     47: 
                     48: 
                     49: 
                     50: 
                     51: 
                     52: 
                     53: 
                     54: 
                     55: 
                     56: 
                     57: 
                     58: 
                     59: 
                     60: 
                     61: 
                     62: 
                     63: 
                     64: COHERENT Lexicon                                           Page 1
                     65: 
                     66: 

unix.superglobalmegacorp.com

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