MCPcopy Create free account
hub / github.com/axboe/liburing / create_file

Function create_file

test/splice.c:76–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76static int create_file(const char *filename)
77{
78 int fd, save_errno;
79
80 fd = open(filename, O_RDWR | O_CREAT, 0644);
81 save_errno = errno;
82 unlink(filename);
83 errno = save_errno;
84 return fd;
85}
86
87static int init_splice_ctx(struct test_ctx *ctx)
88{

Callers 1

init_splice_ctxFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected