gen_calls.c File Reference

#include <ubixos/types.h>
#include <sys/thread.h>
#include <sys/gen_calls.h>
#include <ubixos/sched.h>
#include <lib/kprintf.h>
#include <assert.h>

Go to the source code of this file.

Functions

int getgid (struct thread *td, struct getgid_args *uap)
int getpid (struct thread *td, struct getpid_args *uap)
int gettimeofday_new (struct thread *td, struct gettimeofday_args *uap)
int getuid (struct thread *td, struct getuid_args *uap)
int issetugid (register struct thread *td, struct issetugid_args *uap)
int readlink (struct thread *td, struct readlink_args *uap)
int sys_write (struct thread *td, struct write_args *uap)


Function Documentation

int getgid ( struct thread td,
struct getgid_args uap 
)

Definition at line 50 of file gen_calls.c.

References _current, taskStruct::gid, taskStruct::td, and thread::td_retval.

int getpid ( struct thread td,
struct getpid_args uap 
)

Definition at line 38 of file gen_calls.c.

References _current, taskStruct::id, taskStruct::td, and thread::td_retval.

int gettimeofday_new ( struct thread td,
struct gettimeofday_args uap 
)

Definition at line 88 of file gen_calls.c.

int getuid ( struct thread td,
struct getuid_args uap 
)

Definition at line 44 of file gen_calls.c.

References _current, taskStruct::td, thread::td_retval, and taskStruct::uid.

int issetugid ( register struct thread td,
struct issetugid_args uap 
)

Definition at line 76 of file gen_calls.c.

int readlink ( struct thread td,
struct readlink_args uap 
)

Definition at line 81 of file gen_calls.c.

References readlink_args::count, kprintf(), readlink_args::path, taskStruct::td, and thread::td_retval.

int sys_write ( struct thread td,
struct write_args uap 
)

Definition at line 55 of file gen_calls.c.

References write_args::buf, buffer, write_args::fd, kfree(), kmalloc(), kprintf(), memcpy(), and write_args::nbyte.


Generated on Tue Dec 5 11:01:17 2006 for UbixOS V2 by  doxygen 1.4.7