Postfix3.3.1
総合概要
データ構造
ファイル
ファイル一覧
大域各種
postfix-3.3.1
src
util
safe_open.h
[詳解]
1
#ifndef _SAFE_OPEN_H_INCLUDED_
2
#define _SAFE_OPEN_H_INCLUDED_
3
4
/*++
5
/* NAME
6
/* safe_open 3h
7
/* SUMMARY
8
/* safely open or create regular file
9
/* SYNOPSIS
10
/* #include <safe_open.h>
11
/* DESCRIPTION
12
/* .nf
13
14
/*
15
* System library.
16
*/
17
#include <sys/stat.h>
18
#include <fcntl.h>
19
20
/*
21
* Utility library.
22
*/
23
#include <
vstream.h
>
24
#include <
vstring.h
>
25
26
/*
27
* External interface.
28
*/
29
extern
VSTREAM
*
safe_open
(
const
char
*,
int
, mode_t,
struct
stat
*, uid_t, gid_t,
VSTRING
*);
30
31
/* LICENSE
32
/* .ad
33
/* .fi
34
/* The Secure Mailer license must be distributed with this software.
35
/* AUTHOR(S)
36
/* Wietse Venema
37
/* IBM T.J. Watson Research
38
/* P.O. Box 704
39
/* Yorktown Heights, NY 10598, USA
40
/*--*/
41
42
#endif
VSTREAM
Definition:
vstream.h:43
stat
#define stat(p, s)
Definition:
warn_stat.h:18
safe_open
VSTREAM * safe_open(const char *, int, mode_t, struct stat *, uid_t, gid_t, VSTRING *)
Definition:
safe_open.c:243
VSTRING
Definition:
vstring.h:29
vstring.h
vstream.h
2018年11月10日(土) 18時59分59秒作成 - Postfix3.3.1 / 構成:
1.8.9.1