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

Function fill_exec_target

test/sqpoll-exec.c:23–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21#include "liburing.h"
22
23static int fill_exec_target(char *dst, char *path)
24{
25 struct stat sb;
26
27 /*
28 * Should either be ./exec-target.t or test/exec-target.t
29 */
30 sprintf(dst, "%s", path);
31 return stat(dst, &sb);
32}
33
34static int test_exec(struct io_uring *ring, char * const argv[])
35{

Callers 1

test_execFunction · 0.70

Calls 1

statClass · 0.70

Tested by 1

test_execFunction · 0.56