Ruby  2.5.0dev(2017-10-22revision60238)
unistd.h
Go to the documentation of this file.
1 // Copyright 2012 Google Inc. All Rights Reserved.
2 // Author: yugui@google.com (Yugui Sonoda)
3 #ifndef RUBY_NACL_UNISTD_H
4 #define RUBY_NACL_UNISTD_H
5 int seteuid(pid_t pid);
6 int setegid(pid_t pid);
7 int truncate(const char* path, off_t new_size);
8 int ftruncate(int fd, off_t new_size);
9 #endif
int truncate(const char *path, off_t new_size)
int setegid(pid_t pid)
int seteuid(pid_t pid)
#define off_t
Definition: io.c:61
int ftruncate(int fd, off_t new_size)