C and UNIX

Started by jayanthi mandhalapu, Jul 27, 2009, 08:15 AM

Previous topic - Next topic

jayanthi mandhalapu

This course teaches C under the UNIX operating system. C programs will look similar under any other system (such as VMS or DOS), some other features will differ from system to system. In particular the method of compiling a program to produce a file of runnable code will be different on each system.

The UNIX system is itself written in C. In fact C was invented specifically to implement UNIX. All of the UNIX commands which you type, plus the other system facilities such as password checking, lineprinter queues or magnetic tape controllers are written in C.

In the course of the development of UNIX, hundreds of functions were written to give access to various facets of the system. These functions are available to the programmer in libraries. By writing in C and using the UNIX system libraries, very powerful system programs can be created. These libraries are less easy to access using other programming languages. C is therefore the natural language for writing UNIX system programs.
Be Happy And Always Remain So

emmamartin

It is important for a simple, but the material gets more complex tasks.And if your program includes more than one source file, this tells that to continue, even if there are errors in a file. so this allows you to find as many errors as possible at a given time.