summaryrefslogtreecommitdiff
path: root/jni/ruby/nacl/unistd.h
blob: 1c97390c63f13f4beb64a2251c777cce6047c420 (plain)
1
2
3
4
5
6
7
8
9
// Copyright 2012 Google Inc. All Rights Reserved.
// Author: yugui@google.com (Yugui Sonoda)
#ifndef RUBY_NACL_UNISTD_H
#define RUBY_NACL_UNISTD_H
int seteuid(pid_t pid);
int setegid(pid_t pid);
int truncate(const char* path, off_t new_size);
int ftruncate(int fd, off_t new_size);
#endif