routix.c File Reference

#include "stdarg.h"
#include <sys/types.h>
#include <lib/routix.h>
#include <stdio.h>
#include <sys/syscalls.h>
#include <string.h>
#include <signal.h>

Go to the source code of this file.

Defines

Functions

Variables


Define Documentation

#define MAX_STRING   100
 

Definition at line 248 of file lib/RoutixStd/routix.c.


Function Documentation

int clrscr void   ) 
 

Definition at line 241 of file lib/RoutixStd/routix.c.

int execve char *  tarea,
char **  argv,
char **  envp
 

Definition at line 111 of file lib/RoutixStd/routix.c.

Referenced by main(), and tarea_init().

void exit int  valor  ) 
 

Definition at line 164 of file lib/RoutixStd/routix.c.

Referenced by catchear_hijos(), command(), fatal(), invoke(), main(), sig_usr1(), and syserr().

pid_t fork void   ) 
 

Definition at line 127 of file lib/RoutixStd/routix.c.

size_t free_mem void   ) 
 

Definition at line 86 of file lib/RoutixStd/routix.c.

Referenced by main().

int free_page void *  dir  ) 
 

Definition at line 79 of file lib/RoutixStd/routix.c.

char getascii char  c  ) 
 

Definition at line 411 of file lib/RoutixStd/routix.c.

pid_t getpid void   ) 
 

Definition at line 150 of file lib/RoutixStd/routix.c.

pid_t getppid void   ) 
 

Definition at line 157 of file lib/RoutixStd/routix.c.

void gets char *  str  ) 
 

Definition at line 121 of file lib/RoutixStd/routix.c.

int getvar char *  nombre  ) 
 

Definition at line 427 of file lib/RoutixStd/routix.c.

Referenced by cache_read(), check_sigpending(), get_free_page(), kfree_page(), kmapmem(), kunmapmem(), leer_escribir_new(), main(), read(), recalibrate_block_new(), recalibrate_new(), seek_block_new(), seek_new(), setvar(), sys_exec(), sys_exit_mm(), sys_exit_notify(), sys_getvar(), sys_kill(), sys_show(), sys_signal(), and sys_waitpid().

int kill pid_t  pid,
int  sig
 

Definition at line 188 of file lib/RoutixStd/routix.c.

Referenced by main().

void* malloc_page void   ) 
 

Definition at line 72 of file lib/RoutixStd/routix.c.

Referenced by morecore().

void perror char *  str  ) 
 

Definition at line 93 of file lib/RoutixStd/routix.c.

Referenced by main(), and sys_perror().

void printf char *  string,
... 
 

Definition at line 261 of file lib/RoutixStd/routix.c.

void printn_ unsigned int  num,
int  base
 

Definition at line 395 of file lib/RoutixStd/routix.c.

Referenced by printf().

void printn_s unsigned int  num,
int  base,
char *  str,
int *  index
 

Definition at line 402 of file lib/RoutixStd/routix.c.

Referenced by sprintf().

int proc_dump void   ) 
 

Definition at line 34 of file lib/RoutixStd/routix.c.

int proc_dump_v int  pid  ) 
 

Definition at line 43 of file lib/RoutixStd/routix.c.

Referenced by main().

int putchar char  car  ) 
 

Definition at line 225 of file lib/RoutixStd/routix.c.

void puts char *  str  ) 
 

Definition at line 235 of file lib/RoutixStd/routix.c.

int read_debug int  sector  ) 
 

Definition at line 61 of file lib/RoutixStd/routix.c.

Referenced by main().

int renice word  pid,
word  prioridad
 

Definition at line 141 of file lib/RoutixStd/routix.c.

Referenced by main().

int setvar char *  nombre,
int  valor
 

Definition at line 420 of file lib/RoutixStd/routix.c.

Referenced by main(), and sys_setvar().

void show int  valor  ) 
 

Definition at line 170 of file lib/RoutixStd/routix.c.

Referenced by main().

int sigaction int  signo,
struct sigaction act,
struct sigaction oact
 

Definition at line 202 of file lib/RoutixStd/routix.c.

Referenced by main(), and sys_sigaction().

void* signal int  signo,
void(*  func)()
 

Definition at line 195 of file lib/RoutixStd/routix.c.

Referenced by entrysig(), ignoresig(), and main().

void* signal_check  ) 
 

Definition at line 210 of file lib/RoutixStd/routix.c.

int sigprocmask int  flag,
const sigset_t set,
sigset_t old_set
 

Definition at line 217 of file lib/RoutixStd/routix.c.

Referenced by handler1().

int sleep int  segundos  ) 
 

Definition at line 14 of file lib/RoutixStd/routix.c.

int sprintf char *  str,
const char *  string,
... 
 

Definition at line 330 of file lib/RoutixStd/routix.c.

void sprintn unsigned int  num,
int  base
 

Definition at line 154 of file punto/old/routix.c.

void sputchar char  car  ) 
 

int timer_dump void   )  [inline]
 

Solo para debug, imprime en pantalla el listado de timers activos.

Definition at line 52 of file lib/RoutixStd/routix.c.

Referenced by main(), and sys_timer_dump().

int usleep int  usegundos  ) 
 

Definition at line 24 of file lib/RoutixStd/routix.c.

Referenced by main().

void voido void   ) 
 

header utilizado por la libreria Routix y las tareas de usuario

Definition at line 135 of file lib/RoutixStd/routix.c.

pid_t wait int *  valor  ) 
 

Definition at line 176 of file lib/RoutixStd/routix.c.

Referenced by catchear_hijos(), and main().

pid_t waitpid pid_t  pid,
int *  valor,
int  options
 

Definition at line 181 of file lib/RoutixStd/routix.c.

Referenced by _waiting_childs(), command(), main(), sig_chld(), and wait().


Variable Documentation

word sposicion = 0
 

Definition at line 250 of file lib/RoutixStd/routix.c.

Referenced by printf(), and sputchar().


Generated on Sun May 30 18:38:36 2004 for Routix OS by doxygen 1.3.6