LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 10-26-2009, 09:56 PM   #1
kashyapa
LQ Newbie
 
Registered: Oct 2009
Posts: 13

Rep: Reputation: 0
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 09:59 PM. Reason: to include tags
 
Old 10-26-2009, 10:11 PM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,238

Rep: Reputation: 121Reputation: 121
Actually, those are functions, not programs. They interact with the OS through system calls (to system functions). Does that help?
 
Old 10-26-2009, 11:10 PM   #3
kashyapa
LQ Newbie
 
Registered: Oct 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Quakeboy02 View Post
Actually, those are functions, not programs. They interact with the OS through system calls (to system functions). Does that help?
are the programs that implement the library functions system level programs ?
 
Old 10-26-2009, 11:32 PM   #4
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,223

Rep: Reputation: 167Reputation: 167
i smell home work.
 
Old 10-27-2009, 12:00 PM   #5
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,238

Rep: Reputation: 121Reputation: 121
Quote:
Originally Posted by kashyapa View Post
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.
 
Old 10-27-2009, 08:20 PM   #6
kashyapa
LQ Newbie
 
Registered: Oct 2009
Posts: 13

Original Poster
Rep: Reputation: 0
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. "
 
  


Reply

Tags
kernel, programming


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Programs installed with package manager aren't recognised by other programs fraserm Linux - Software 3 04-21-2007 12:38 PM
System Info Programs ODMahowny Linux - Software 2 06-19-2006 02:04 AM
my table with programs when i press in button (left down corner) do no show programs sagi7ario Mandriva 1 03-12-2004 12:02 PM
How to get newly installed programs in programs list Brosky Linux - Software 5 02-06-2004 03:45 PM
system monitoring programs mog Linux - General 1 07-16-2003 01:14 AM


All times are GMT -5. The time now is 03:11 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration