Programming in C UNIX System Calls and Subroutines Using C (by A. D. Marshall)
Programming in C UNIX System Calls and Subroutines Using C (by A. D. Marshall)
Programming in C UNIX System Calls and Subroutines Using C (by A. D. Marshall)
This note covers the following topics: The Common Desktop
Environment, C/C++ Program Compilation, C Basics, Conditionals, Looping and
Iteration, Arrays and Strings, Functions, Pointers, Dynamic Memory Allocation
and Dynamic Structures, Low Level Operators and Bit Fields, The C
Preprocessor, C, UNIX and Standard Libraries, Integer Functions, Random
Number, String Conversion, Searching and Sorting, String Handling, File Access
and Directory System Calls, Interprocess Communication (IPC), PipesRemote
Procedure Calls (RPC) and Writing Larger Programs.
C probably has been the most influential programming language
during the last 25 years. It was originally introduced for the implementation of
UNIX, but is now used for a large variety of very different tasks. This note
will introduce the C programming language in the context of the UNIX operating
system. It will also cover UNIX from a user and a programmer perspective.
This is a
reference manual for the C programming language as implemented by the GNU
Compiler Collection (GCC). Topics covered includes: Lexical Elements, Data
Types, Expressions and Operators, Functions, Program Structure and Scope.