Postfix3.3.1
warn_stat.h
[詳解]
1 #ifndef _WARN_STAT_H_
2 #define _WARN_STAT_H_
3 
4 /*++
5 /* NAME
6 /* warn_stat 3h
7 /* SUMMARY
8 /* baby-sit stat() error returns
9 /* SYNOPSIS
10 /* #include <warn_stat.h>
11 /* DESCRIPTION
12 /* .nf
13 
14  /*
15  * External interface.
16  */
17 #ifndef WARN_STAT_INTERNAL
18 #define stat(p, s) warn_stat((p), (s))
19 #define lstat(p, s) warn_lstat((p), (s))
20 #define fstat(f, s) warn_fstat((f), (s))
21 #endif
22 
23 extern int warn_stat(const char *path, struct stat *);
24 extern int warn_lstat(const char *path, struct stat *);
25 extern int warn_fstat(int, struct stat *);
26 
27 /* LICENSE
28 /* .ad
29 /* .fi
30 /* The Secure Mailer license must be distributed with this software.
31 /* AUTHOR(S)
32 /* Wietse Venema
33 /* IBM T.J. Watson Research
34 /* P.O. Box 704
35 /* Yorktown Heights, NY 10598, USA
36 /*--*/
37 
38 #endif
#define stat(p, s)
Definition: warn_stat.h:18
int warn_stat(const char *path, struct stat *)
Definition: warn_stat.c:69
int warn_lstat(const char *path, struct stat *)
Definition: warn_stat.c:81
int warn_fstat(int, struct stat *)
Definition: warn_stat.c:93