xref: /netbsd-src/external/ibm-public/postfix/dist/src/util/warn_stat.h (revision a30b880ed60a24c405edba78187a04247f4d9d33)
1 /*	$NetBSD: warn_stat.h,v 1.1.1.1 2013/01/02 18:59:15 tron Exp $	*/
2 
3 #ifndef _WARN_STAT_H_
4 #define _WARN_STAT_H_
5 
6 /*++
7 /* NAME
8 /*	warn_stat 3h
9 /* SUMMARY
10 /*	baby-sit stat() error returns
11 /* SYNOPSIS
12 /*	#include <warn_stat.h>
13 /* DESCRIPTION
14 /* .nf
15 
16  /*
17   * External interface.
18   */
19 #ifndef WARN_STAT_INTERNAL
20 #define stat(p, s) warn_stat((p), (s))
21 #define lstat(p, s) warn_lstat((p), (s))
22 #define fstat(f, s) warn_fstat((f), (s))
23 #endif
24 
25 extern int warn_stat(const char *path, struct stat *);
26 extern int warn_lstat(const char *path, struct stat *);
27 extern int warn_fstat(int, struct stat *);
28 
29 /* LICENSE
30 /* .ad
31 /* .fi
32 /*	The Secure Mailer license must be distributed with this software.
33 /* AUTHOR(S)
34 /*	Wietse Venema
35 /*	IBM T.J. Watson Research
36 /*	P.O. Box 704
37 /*	Yorktown Heights, NY 10598, USA
38 /*--*/
39 
40 #endif
41