test4.c File Reference

#include <sys/types.h>
#include <sys/wait.h>
#include <fcntl.h>
#include <signal.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>

Include dependency graph for test4.c:

Go to the source code of this file.

Functions

 _PROTOTYPE (int main,(void))
 _PROTOTYPE (void subr,(void))
int main ()
void subr ()
void nofork ()
void quit ()

Variables

pid_t pid0
pid_t pid1
pid_t pid2
pid_t pid3
int s
int i
int fd
int nextb
int errct = 0
char * tempfile = "test4.temp"
char buf [1024]
int errno


Function Documentation

_PROTOTYPE void  subr,
(void) 
 

_PROTOTYPE int  main,
(void) 
 

int main void   ) 
 

Definition at line 23 of file test4.c.

References chdir, creat, fflush(), k, printf, stdout, subr(), system(), and tempfile.

void nofork  ) 
 

Definition at line 83 of file test4.c.

References e, errno, exit(), printf, and strerror().

Referenced by subr().

void quit  ) 
 

Definition at line 90 of file test4.c.

References chdir, errct, exit(), printf, and system().

void subr  ) 
 

Definition at line 42 of file test4.c.

References close, exit(), fork, getpid, i, kill, L, lseek, nextb, nofork(), O_RDONLY, open, pid0, pid1, pid2, pid3, read, s, tempfile, and wait.

Referenced by main().


Variable Documentation

char buf[1024]
 

Definition at line 15 of file test4.c.

int errct = 0
 

Definition at line 13 of file test4.c.

int errno
 

Definition at line 70 of file rcp.c.

int fd
 

Definition at line 13 of file test4.c.

int i
 

Definition at line 13 of file test4.c.

int nextb
 

Definition at line 13 of file test4.c.

Referenced by subr().

pid_t pid0
 

Definition at line 12 of file test4.c.

Referenced by subr().

pid_t pid1
 

Definition at line 12 of file test4.c.

Referenced by main(), subr(), talk(), test2e(), and test2f().

pid_t pid2
 

Definition at line 12 of file test4.c.

Referenced by subr(), test2e(), and test7h().

pid_t pid3
 

Definition at line 12 of file test4.c.

Referenced by subr().

int s
 

Definition at line 13 of file test4.c.

char* tempfile = "test4.temp"
 

Definition at line 14 of file test4.c.

Referenced by dir_start(), ftime_start(), initialize(), main(), opentemp(), and subr().


Generated on Fri Apr 14 23:22:25 2006 for minix by  doxygen 1.4.6