1/* $NetBSD$ */ 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 25extern int warn_stat(const char *path, struct stat *); 26extern int warn_lstat(const char *path, struct stat *); 27extern 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