sys/file.h
#ifndef _SYS_FILE_H
#define _SYS_FILE_H 1
#include
#ifndef _FCNTL_H
# include
#endif
__BEGIN_DECLS
#ifndef L_SET
# define L_SET 0
# define L_INCR 1
# define L_XTND 2
#endif
#define LOCK_SH 1
#define LOCK_EX 2
#define LOCK_UN 8
#define LOCK_NB 4
extern int flock (int __fd, int __operation) __THROW;
__END_DECLS
#endif
|
|