2004 by Marc J. Rochkind. All rights reserved. Portions marked "Open Source" may be copied under license.


Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

c3/slink.c File Reference

Detailed Description

Symbolic-link test program (uses stat and lstat) [Sec. 3.5.1 (not in book)].

Definition in file slink.c.

Go to the source code of this file.


const char * get_file_type (mode_t mode)
int main (void)

Function Documentation

const char* get_file_type mode_t  mode  ) 

Definition at line 23 of file slink.c.

Referenced by main().

int main void   ) 

Definition at line 42 of file slink.c.

References creat(), exit(), get_file_type(), link(), lstat(), PERM_FILE, stat::st_ino, stat::st_mode, stat::st_nlink, stat(), symlink(), syserr(), and unlink().

Generated on Fri Apr 23 10:57:08 2004 for AUP2 Example Source by doxygen 1.3.1