Back to index

glibc  2.9
flock.c File Reference
#include <errno.h>
#include <sys/file.h>
#include <hurd/fd.h>
#include <hurd/fs.h>

Go to the source code of this file.


int __flock (int fd, int operation)

Function Documentation

int __flock ( int  fd,
int  operation 

Definition at line 27 of file flock.c.

  error_t err;

  if (err = HURD_DPORT_USE (fd, __file_lock (port, operation)))
    return __hurd_dfail (fd, err);

  return 0;

Here is the call graph for this function: