/usr/include/postfix/iostuff.h is in postfix-dev 2.9.1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | #ifndef _IOSTUFF_H_INCLUDED_
#define _IOSTUFF_H_INCLUDED_
/*++
/* NAME
/* iostuff 3h
/* SUMMARY
/* miscellaneous I/O primitives
/* SYNOPSIS
/* #include <iostuff.h>
/* DESCRIPTION
/*
* External interface.
*/
extern int non_blocking(int, int);
extern int close_on_exec(int, int);
extern int open_limit(int);
extern int readable(int);
extern int writable(int);
extern off_t get_file_limit(void);
extern void set_file_limit(off_t);
extern ssize_t peekfd(int);
extern int read_wait(int, int);
extern int write_wait(int, int);
extern ssize_t write_buf(int, const char *, ssize_t, int);
extern ssize_t timed_read(int, void *, size_t, int, void *);
extern ssize_t timed_write(int, void *, size_t, int, void *);
extern void doze(unsigned);
extern void rand_sleep(unsigned, unsigned);
extern int duplex_pipe(int *);
extern int stream_recv_fd(int);
extern int stream_send_fd(int, int);
extern int unix_recv_fd(int);
extern int unix_send_fd(int, int);
extern ssize_t dummy_read(int, void *, size_t, int, void *);
extern ssize_t dummy_write(int, void *, size_t, int, void *);
extern int inet_windowsize;
extern void set_inet_windowsize(int, int);
#define BLOCKING 0
#define NON_BLOCKING 1
#define CLOSE_ON_EXEC 1
#define PASS_ON_EXEC 0
extern int unix_pass_fd_fix;
extern void set_unix_pass_fd_fix(const char *);
#define UNIX_PASS_FD_FIX_NONE (0)
#define UNIX_PASS_FD_FIX_CMSG_LEN (1<<0)
/* LICENSE
/* .ad
/* .fi
/* The Secure Mailer license must be distributed with this software.
/* AUTHOR(S)
/* Wietse Venema
/* IBM T.J. Watson Research
/* P.O. Box 704
/* Yorktown Heights, NY 10598, USA
/* CREATION DATE
/* Sat Jan 25 16:54:13 EST 1997
/*--*/
#endif
|