Provided by: manpages-zh_1.5.2-1_all bug

NAME

       flockfile, ftrylockfile, funlockfile -  FILE

SYNOPSIS

       #include <stdio.h>

       void flockfile(FILE *filehandle);
       int ftrylockfile(FILE *filehandle);
       void funlockfile(FILE *filehandle);

DESCRIPTION

        stdio  FILE  ()  FILE  I/O

       ( flock(2) lockf(3) )

        C  I/O  I/O

        FILE I/O  stdio  I/O  getc_unlocked()  putc_unlocked()  getc()  putc()

        flockfile()  *filehandle  *filehandle  lockcount

        funlockfile()

        ftrylockfile()  flockfile()  *filehandle

RETURN VALUE

        ftrylockfile()  ()

ERRORS


AVAILABILITY

        _POSIX_THREAD_SAFE_FUNCTIONS  libc 5.1.1  libc  glibc 2.0  glibc

CONFORMING TO

       POSIX.1

SEE ALSO

       unlocked_stdio(3)

                                  2001-10-18                       LOCKFILE(3)