Processes and Threads

Simple C example
Include text of header file in $< >$ for system, user header name in `` ''
main program called ``main'', with these argument types
#include <stdio.h>
int main(int argc, char *argv[ ])
{
int i;
for (i=0; i < argc; i++)
printf(``command line argument [%d] = %s \n'',
i, argv[i]);
}
Figure 2.1: System Calls
\includegraphics[scale=0.8]{figures/systemcall1.ps} \includegraphics[scale=0.8]{figures/systemcall2.ps}


Subsections

2004-05-25