ezmlmx
0.68
ezmlmx
Loading...
Searching...
No Matches
ezmlmx-0.68
src
wrap_stat.c
Go to the documentation of this file.
1
#include <sys/types.h>
2
#include <sys/stat.h>
3
#include "error.h"
4
#include "
errtxt.h
"
5
#include "
wrap.h
"
6
#include "
idx.h
"
7
#include "logmsg.h"
8
9
#define WHO "wrap_stat"
10
16
17
int
wrap_stat
(
const
char
*
fn
,
struct
stat *st)
18
{
19
int
r;
20
if
((r = stat(
fn
,st)) == -1 && errno != ENOENT)
21
logmsg
(
WHO
,111,FATAL,B(
ERR_STAT
,
fn
));
22
return
r;
23
}
24
25
idx.h
wrap.h
errtxt.h
Error messages. If you translate these, I would urge you to keep the English version as well....
ERR_STAT
#define ERR_STAT
Definition
errtxt.h:24
WHO
#define WHO
Definition
author.c:1
fn
stralloc fn
Definition
ezmlm-archive.c:42
wrap_stat
int wrap_stat(const char *fn, struct stat *st)
Definition
wrap_stat.c:17
logmsg
const char * logmsg(const char *dir, unsigned long num, unsigned long listno, unsigned long subs, int done)
Definition
loginfo.c:32
Generated on
for ezmlmx by
1.14.0