MCPcopy Index your code
hub / github.com/GJDuck/e9patch / open

Function open

examples/stdlib.c:1160–1168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1158}
1159
1160static int open(const char *pathname, int flags, ...)
1161{
1162 va_list ap;
1163 va_start(ap, flags);
1164 mode_t mode = va_arg(ap, int);
1165 int result = (int)syscall(SYS_open, pathname, flags, mode);
1166 va_end(ap);
1167 return result;
1168}
1169
1170static int close(int fd)
1171{

Callers 12

find_debug_altlinkFunction · 0.85
try_split_fileFunction · 0.85
try_dwp_fileFunction · 0.85
test_stdioFunction · 0.85
emitPatchFunction · 0.85
parseBinaryFunction · 0.85
parseELFMethod · 0.85
parsePEMethod · 0.85
parseBinaryMethod · 0.85
buildLinesMethod · 0.85
fopenFunction · 0.85
freopenFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_stdioFunction · 0.68