fehQlibs
27
Qlibs
Loading...
Searching...
No Matches
fehQlibs-27
src
open.c
Go to the documentation of this file.
1
#include <sys/types.h>
2
#include <fcntl.h>
3
#include "
open.h
"
4
11
12
int
open_append
(
const
char
*fn)
13
{
return
open(fn,O_WRONLY | O_NDELAY | O_APPEND | O_CREAT,0600); }
14
15
int
open_excl
(
const
char
*fn)
16
{
return
open(fn,O_WRONLY | O_EXCL | O_CREAT,0644); }
17
18
int
open_read
(
const
char
*fn)
19
{
return
open(fn,O_RDONLY | O_NDELAY); }
20
21
int
open_trunc
(
const
char
*fn)
22
{
return
open(fn,O_WRONLY | O_NDELAY | O_TRUNC | O_CREAT,0644); }
23
24
int
open_write
(
const
char
*fn)
25
{
return
open(fn,O_WRONLY | O_NDELAY); }
open.h
open_excl
int open_excl(const char *fn)
Definition
open.c:15
open_write
int open_write(const char *fn)
Definition
open.c:24
open_append
int open_append(const char *fn)
Definition
open.c:12
open_read
int open_read(const char *fn)
Definition
open.c:18
open_trunc
int open_trunc(const char *fn)
Definition
open.c:21
Generated on Tue May 27 2025 21:48:00 for fehQlibs by
1.13.2