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 5int seteuid(pid_t pid); 6int setegid(pid_t pid); 7int truncate(const char* path, off_t new_size); 8int ftruncate(int fd, off_t new_size); 9#endif 10