Apache HTTPD
Functions
tryread.c File Reference
#include "testflock.h"
#include "apr_pools.h"
#include "apr_file_io.h"
#include "apr_general.h"
#include "apr.h"

Go to the source code of this file.

Functions

int main (int argc, const char *const *argv)
 

Function Documentation

◆ main()

int main ( int  argc,
const char *const argv 
)

< Open the file for writing

< use OS's default permissions

<

Deprecated:
See also
APR_FPROT_OS_DEFAULT

< Exclusive lock. Only one process may hold an exclusive lock at any given time. This is analogous to a "write lock".

< do not block while acquiring the file lock

Definition at line 27 of file tryread.c.