Pmscalls.cpp File Reference

MASK_RWUSR

setgid(gid_t)

EXPORT_C intsetgid(gid_tgid)

Parameters

gid_t gid

getegid(void)

EXPORT_C gid_tgetegid(void)

Parameters

void

setegid(gid_t)

EXPORT_C intsetegid(gid_tgid)

Parameters

gid_t gid

setregid(gid_t, gid_t)

EXPORT_C intsetregid(gid_trgid,
gid_tegid
)

Parameters

gid_t rgid
gid_t egid

getgid(void)

EXPORT_C gid_tgetgid(void)

Parameters

void

getuid(void)

EXPORT_C uid_tgetuid(void)

Parameters

void

setuid(uid_t)

EXPORT_C intsetuid(uid_tuid)

Parameters

uid_t uid

geteuid(void)

EXPORT_C uid_tgeteuid(void)

Parameters

void

seteuid(uid_t)

EXPORT_C intseteuid(uid_tuid)

Parameters

uid_t uid

setreuid(uid_t, uid_t)

EXPORT_C intsetreuid(uid_truid,
uid_teuid
)

Parameters

uid_t ruid
uid_t euid

getpgid(pid_t)

EXPORT_C pid_tgetpgid(pid_tpid)

Parameters

pid_t pid

setpgid(pid_t, pid_t)

EXPORT_C pid_tsetpgid(pid_tpid,
pid_tpgid
)

Parameters

pid_t pid
pid_t pgid

getpgrp(void)

EXPORT_C pid_tgetpgrp(void)

Parameters

void

setpgrp(pid_t, pid_t)

EXPORT_C intsetpgrp(pid_t_pid,
pid_t_pgrp
)

Parameters

pid_t _pid
pid_t _pgrp

getgroups(int, gid_t)

EXPORT_C intgetgroups(intsize,
gid_tgrouplist
)

Parameters

int size
gid_t grouplist

setsid(void)

EXPORT_C pid_tsetsid(void)

Parameters

void

getppid(void)

EXPORT_C pid_tgetppid(void)

Parameters

void

umask(mode_t)

EXPORT_C mode_tumask(mode_tcmask)

Parameters

mode_t cmask

chown(const char *, uid_t, gid_t)

EXPORT_C intchown(const char *path,
uid_towner,
gid_tgroup
)

Parameters

const char * path
uid_t owner
gid_t group

lchown(const char *, uid_t, gid_t)

EXPORT_C intlchown(const char *path,
uid_towner,
gid_tgroup
)

Parameters

const char * path
uid_t owner
gid_t group

initgroups(const char *, gid_t)

EXPORT_C intinitgroups(const char *,
gid_t
)

Parameters

const char *
gid_t

sched_yield(void)

EXPORT_C intsched_yield(void)

Parameters

void

sched_get_priority_max(int)

EXPORT_C intsched_get_priority_max(int)

Parameters

int

sched_get_priority_min(int)

EXPORT_C intsched_get_priority_min(int)

Parameters

int

brk(const void *)

EXPORT_C intbrk(const void *)

Parameters

const void *