13 extern int link(
char *old,
char *
new);
14 extern int _close(
int file);
15 extern int _fstat(
int file,
struct stat *st);
17 extern int _lseek(
int file,
int ptr,
int dir);
18 extern void _exit(
int status);
19 extern void _kill(
int pid,
int sig);
22 int _write(
int file,
char *ptr,
int len)
28 for(i = 0; i < len; i++)
29 fputc(ptr[i], stdout);
33 for(i = 0; i < len; i++)
34 fputc(ptr[i], stderr);
40 int _read(
int file,
char *ptr,
int len)
45 extern int link(
char *old,
char *
new)
55 extern int _fstat(
int file,
struct stat *st)
57 st->st_mode = S_IFCHR;
66 extern int _lseek(
int file,
int ptr,
int dir)
76 extern void _kill(
int pid,
int sig)
int_t fputc(int_t c, FILE *stream)
Put char to file output.
void _kill(int pid, int sig)
int _fstat(int file, struct stat *st)
int _read(int file, char *ptr, int len)
int link(char *old, char *new)
int _lseek(int file, int ptr, int dir)
int _write(int file, char *ptr, int len)
int AllowPLLInitByStartup(void)