C for Linux
COURSE CODE: LA202
Description:
This course is aimed at using the linux commands using C programming.
Course Overview:
Introduction to ‘C’ for Linux
ANSI / ISO ‘C’ Standard Header Libraries
- assert.h, errno.h, math.h
- stddef.h, stdlib.h
Character & String Manipulation
- stdlib.h, ctype.h, string.h, memory.h
- String formatting function
Date & Time functions
- time.h, clock(), time() & ctime()
- The tm structure
Memory Allocation
- malloc.h, malloc(), free(), calloc()
- realloc(), Dynamic arrays, Linked list
System Call I/O
- stdio.h, open(), creat()
- Higher order open modes
- read(), write() , lseek() & close()
- File access via both System & Standard I/O functions
- Temporary files
File Handling
- File Access, File status
- Change access & Modification times
- umask(), chmod(), chown()
- link & unlink()
Directory Handling
- Change working & root directory
- Making & Removing a Directory
- File Tree Walking
Unix Command Execution
- System()
- Pipes Unix commands
Environment Information
- Program Environment arguments
- getenv() & putenv()
Multiprocessing
- Initiating Processes, Parallel Processing
- Inter-Process communicatoin; dup(), fcntl() Process control
- Process exit() & abort()
- sleep(), nice(), brk(), sbrk() & ulimit()
- Process Identification
- Signal Handling
Information
- Real & Effective user & group ID’s
- /etc/passwd Information
- /etc/group Information
Function Control
- Variable Parameters
- Inter-function Jumps
The Curses Library
- Using the Curses Library
- Basic Curses Routines
- Moving about & writing to the screen
- Reading from the screen
- Input & Output modes
- Screen Editing
- Screen Attributes
- Creating Windows
- The Window Routines
Makefiles
- How Make works; The Makefile
- Multiple-file Programs; Make Variables
- Suffix Rules; Program Libraries
- Shell Commands
- Command Line Options
- Miscellaneous Features
The Source Code Control System
- SCCS Tree Structure
- The admin Command; The Get Command
- Ungetting a File; The Delta Command
- Other SCCS Commands
- Running SCCS from a C Program
The Concurrent Version System
- CVS Overview
- Creating a repository
- Setting up your repository
- Checking out a working directory
- Making changes to files
- Merging changes
- Committing changes
- Adding and deleting files
- Renaming files
- Writing good log entries
- Handling conflicts
- Identifying conflicts
- Resolving conflicts
- Understanding conflicts
- Locking
DURATION
- FULL Time - 5 Days
- PART Time - 40 Hours
