realpath man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



realpath(3C)							  realpath(3C)

NAME
     realpath - returns the real file name

SYNOPSIS
     #include <stdlib.h>
     #include <sys/param.h>

     char *realpath (const char *file_name, char *resolved_name);

DESCRIPTION
     realpath resolves all links, symbolic links, and references to ``.'' and
     ``..'' in file_name and stores it in resolved_name.

     It can handle both relative and absolute path names.  For absolute path
     names and the relative names whose resolved name cannot be expressed
     relatively (for example, ../../reldir), it returns the resolved absolute
     name.

     resolved_name should point to a buffer (MAXPATHLEN) bytes in length to
     contain the fully resolved path name.

SEE ALSO
     getcwd(3C).

DIAGNOSTICS
     If there is no error, realpath returns a pointer to the resolved_name.
     Otherwise it returns a null pointer and places the name of the offending
     file in resolved_name.  The global variable errno is set to indicate the
     error.

NOTES
     realpath operates on null-terminated strings.

     One should have execute permission on all the directories in the given
     and the resolved path.

     realpath may fail to return to the current directory if an error occurs.

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net