NAME stat, lstat (stub function) - get file status

SYNOPSIS

     #include <sys/types.h>
     #include <sys/stat.h>
     #include <sys/statx.h>

     int  stat(const char *path, struct stat *buf);
     int lstat(const char *path, struct stat *buf);   /* forwarder fn */


DESCRIPTION

     stat() is the same as in the emx library, plus two additional entries
     in struct stat (if -posix flag is not specified on the commandline): 

#if !defined (_POSIX_SOURCE)  			/*  BSD compatibility */
  u_long  st_blksize; 	/* preferred blocksize. Assume HPFS: 512 */
  u_long  st_blocks; 	/* = st_size / st_blksize  */
#endif

     lstat() is the very same as stat() except when a symbolic link 
     is being specified: While stat() resolves the link, lstat() does 
     not dereference it.  

CONFORMING TO

    lstat() conforms to 4.3BSD and SVr4, it also appears in SUSV2.


IMPLEMENTATION 

     We do not implement lstat(). However to be on the safe side for future 
     enhancements, we don't #define lstat to stat, even if by default OS/2
     filesystems do not support symbolic links: We create an entry point for 
     lstat() in libextensions instead!

  TODO

     A link database, a _posixRedirRoot() function to emulate a Posix file 
     system and real implementations. ;-)


AUTHORS and Copyright

    Cf. the sources. Preferably also YOU.
