


PATHNAME(SFS3)    MISC. REFERENCE MANUAL PAGES     PATHNAME(SFS3)



NAME
     pathname - get full pathname of file

SYNOPSIS
     char     *pathname(name)
     char     *name;


DESCRIPTION
     pathname is a subroutine to  return  the  full  pathname  of
     file.  For pathnames not beginning with "/", it concatenates
     "name" with the current  working  directory  and  eliminates
     strings  such  as  "./" and "dir/..".  The routine returns a
     pointer to a static area.

VERSION/AUTHOR
     1.2 - Colin Ayer

SEE ALSO
     getwd(3), dirname(1), basename(1), sfsfile(SFS3)

SOURCE
     /ptemp/mark/sfs/libsfs/pathname.c
































SFS                     Last change: MSIS                       1



