Postfix3.3.1
open_lock.h
[詳解]
1 #ifndef _OPEN_LOCK_H_INCLUDED_
2 #define _OPEN_LOCK_H_INCLUDED_
3 
4 /*++
5 /* NAME
6 /* open_lock 3h
7 /* SUMMARY
8 /* open or create file and lock it for exclusive access
9 /* SYNOPSIS
10 /* #include <open_lock.h>
11 /* DESCRIPTION
12 /* .nf
13 
14  /*
15  * System library.
16  */
17 #include <fcntl.h>
18 
19  /*
20  * Utility library.
21  */
22 #include <vstream.h>
23 #include <vstring.h>
24 
25  /*
26  * External interface.
27  */
28 extern VSTREAM *open_lock(const char *, int, mode_t, VSTRING *);
29 
30 /* LICENSE
31 /* .ad
32 /* .fi
33 /* The Secure Mailer license must be distributed with this software.
34 /* AUTHOR(S)
35 /* Wietse Venema
36 /* IBM T.J. Watson Research
37 /* P.O. Box 704
38 /* Yorktown Heights, NY 10598, USA
39 /*--*/
40 
41 #endif
VSTREAM * open_lock(const char *, int, mode_t, VSTRING *)
Definition: open_lock.c:58