From e50dc18f5df45ea358182ce7d986b77858219cd9 Mon Sep 17 00:00:00 2001 From: Colin Schmidt Date: Thu, 22 May 2014 18:56:56 -0700 Subject: Add several syscalls, and move syscall header file from newlib syscalls added (openat, access, accessat, faccessat, etc.) --- pk/file.h | 1 + 1 file changed, 1 insertion(+) (limited to 'pk/file.h') diff --git a/pk/file.h b/pk/file.h index 88338e6..c5b0f4b 100644 --- a/pk/file.h +++ b/pk/file.h @@ -21,6 +21,7 @@ void file_decref(file_t*); void file_incref(file_t*); int file_dup(file_t*); +file_t* file_openat(int dirfd, const char* fn, int flags, int mode); ssize_t file_pwrite(file_t* f, const void* buf, size_t n, off_t off); ssize_t file_pread(file_t* f, void* buf, size_t n, off_t off); ssize_t file_write(file_t* f, const void* buf, size_t n); -- cgit v1.1