~ubuntu-branches/ubuntu/vivid/emscripten/vivid-proposed

« back to all changes in this revision

Viewing changes to system/include/libc/sys/file.h

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2014-01-19 14:12:40 UTC
  • mfrom: (4.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140119141240-nfiw0p8033oitpfz
Tags: 1.9.0~20140119~7dc8c2f-1
* New snapshot release (Closes: #733714)
* Provide sources for javascript and flash. Done in orig-tar.sh
  Available in third_party/websockify/include/web-socket-js/src/
  (Closes: #735903)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
#include <sys/fcntl.h>
 
1
#ifndef _SYS_FILE_H
 
2
#define _SYS_FILE_H
 
3
#ifdef __cplusplus
 
4
extern "C" {
 
5
#endif
 
6
 
 
7
#define LOCK_SH 1
 
8
#define LOCK_EX 2
 
9
#define LOCK_NB 4
 
10
#define LOCK_UN 8
 
11
 
 
12
#define L_SET 0
 
13
#define L_INCR 1
 
14
#define L_XTND 2
 
15
 
 
16
int flock(int, int);
 
17
 
 
18
#ifdef __cplusplus
 
19
}
 
20
#endif
 
21
#endif