Next: , Up: The Operating System Library   [Index]


13.13.1 Operating System Functions

chdir

integer chdir(text p);

calls chdir(2) for p.

chmod

void chmod(text p, integer m);

calls chmod(2) for p and m.

chown

void chown(text p, integer u, integer g);

calls chown(2) for p, u and g.

getpid

integer getpid(void);

is getpid(2)().

getppid

integer getppid(void);

is getppid(2)().

kill

void kill(integer p, integer s);

calls kill(2) for p and s.

mkdir

void mkdir(text p, integer m);

calls mkdir(2) for p and m.

raise

void raise(integer s);

calls raise(3) for s.

remove

void remove(text p);

calls remove(3) for p.

rename

void rename(text p, text q);

calls rename(2) for p and q.

rmdir

void rmdir(text p);

calls rmdir(2) for p.

sleep

void sleep(integer s);

calls sleep(3) for nonnegative s, does nothing for negative time indications.

unlink

void unlink(text p);

calls unlink(2) for p.

usleep

void usleep(integer u);

calls usleep(3) for nonnegative u, does nothing for negative time indications.