Add support for openat on mips
This commit is contained in:
@@ -33,7 +33,7 @@ int main() {
|
||||
write(STDIO, input_buffer, n_read);
|
||||
|
||||
// Test the open syscall
|
||||
#if defined(__x86_64__)
|
||||
#if defined(__x86_64__) || defined(__mips__)
|
||||
int32_t file = open("/proc/version", O_RDONLY);
|
||||
int i = read(file, input_buffer, INPUT_BUFFER_LEN);
|
||||
while(i > 0) {
|
||||
|
||||
Reference in New Issue
Block a user