312-210
Examples
- Example 0 I/O example with functions.
- Example 1 Intro to pointers.
- Example 2 Reading in ints using pointers.
- Example 3
- Example 4
- Example 5 Strings.
- Example 6 Command line arguments, files, character input.
- Example 7 Introduction to structs.
- Example 8 Typedefs and pointers in struct fields.
- Example 9 pointers to structs and dynamic memory
allocation of structs.
- fork1.c Intro to fork.
- fork2.c More forks...
- excl1.c Example using excl.
- child.c child process for the
previous excl.
- excl2.c Another example using excl.
- child2.c child process
for the previous excel.
excl example.
- pipe1.c Intro to pipes.
- pipe2.c Using pipes to communicate between processes.
- pipe3.c Pipes using excl
- pipe4.c The child process for pipe3.c
- pipe5.c Using dup to override stdin.
- binSem.h The header file that
creates the binary semaphore abstraction. You must include this
file to use semaphores.
- sem1.c Simple semaphores.
- sem2.c Using semaphores to
control access to a file.
- sem3.c Sharing a semaphore
a parent and child.
Return to Student Pages
Return to John Barr's Home Page
Last Modified: 26 September 2001
THIS PAGE MAINTAINED BY:
John Barr, Ithaca College