Rechercher une page de manuel
SYSCALL_DEFINE2
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
SYSCALL_DEFINE2 - flock system call.SYNOPSIS
- SYSCALL_DEFINE2(flock, unsigned int, fd, unsigned int, cmd);
ARGUMENTS
flock
- -- undescribed --
int
- -- undescribed --
fd
- the file descriptor to lock.
int
- -- undescribed --
cmd
- the type of lock to apply.
DESCRIPTION
Apply a FL_FLOCK style lock to an open file descriptor. The cmd can be one of
LOCK_SH -- a shared lock.
LOCK_EX -- an exclusive lock.
LOCK_UN -- remove an existing lock.
LOCK_MAND -- a `mandatory' flock. This exists to emulate Windows Share Modes.
LOCK_MAND can be combined with LOCK_READ or LOCK_WRITE to allow other processes read and write access respectively.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre