Are programs like sys_open( ) ,sys_read( ) et al examples of system level programs ?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are programs like sys_open( ) ,sys_read( ) et al examples of system level programs ?
Are the programs written on schedulers ,thread library , process management, memory management, et al called systems programs ? How are they different from the programs that implement functions like open() , printf() , scanf() , read() .. they have a prefix sys_open, sys_close, sys_read etc , right ? Is there any difference of hierarchy between the programs that implement system calls and system level programs like that implement thread library, process management , memory managemnt etc..
Hope you understood my qstn
Last edited by kashyapa; 10-26-2009 at 10:59 PM.
Reason: to include tags
are the programs that implement the library functions system level programs ?
There are no programs that implement the library functions. This may seem like a fine distinction, but it must be made, nonetheless. A program is a self-contained unit having a "main()" function. Note the word "function". Programs are made of code and calls to functions, not the reverse. Functions are self-contained bits of code that may call other functions. They do not contain a "main()" function. You really need to discuss with your instructor the difference between a function and a program.
I got this cleared ..Here goes the clarification
" Functions like open() , printf() , scanf() , read() are library function implemented on top of their sys_* counterparts so they can be used for any Application development. On the other hand sys_open, sys_close, sys_read etc are implemented as-part-of-system commonly known as kernel. On top of this, system programs like thread library, compilers, linkers are implemented which helps other application development. Hope this clears the difference between system, system programs and application programs. "
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.