|
Revision 394, 391 bytes
(checked in by moo, 20 months ago)
|
|
merged [393] from trunk: svn:eol-style
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | typedef struct _xc_lock_t xc_lock_t; |
|---|
| 2 | |
|---|
| 3 | xc_lock_t *xc_fcntl_init(const char *pathname); |
|---|
| 4 | void xc_fcntl_destroy(xc_lock_t *lck); |
|---|
| 5 | void xc_fcntl_lock(xc_lock_t *lck); |
|---|
| 6 | void xc_fcntl_unlock(xc_lock_t *lck); |
|---|
| 7 | |
|---|
| 8 | #define xc_lock_init(name) xc_fcntl_init(name) |
|---|
| 9 | #define xc_lock_destroy(fd) xc_fcntl_destroy(fd) |
|---|
| 10 | #define xc_lock(fd) xc_fcntl_lock(fd) |
|---|
| 11 | #define xc_unlock(fd) xc_fcntl_unlock(fd) |
|---|