LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Tags used in this thread
Popular LQ Tags ,

Reply
 
Thread Tools
Old 10-26-2009, 10:56 PM   #1
kashyapa
LQ Newbie
 
Registered: Oct 2009
Posts: 12
Thanked: 0
Are programs like sys_open( ) ,sys_read( ) et al examples of system level programs ?


[Log in to get rid of this advertisement]
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
linuxubuntu kashyapa is offline  
Tag This Post ,
Reply With Quote
Old 10-26-2009, 11:11 PM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Lenny 2.6.28.8 SMP
Posts: 2,716
Thanked: 57
Actually, those are functions, not programs. They interact with the OS through system calls (to system functions). Does that help?
linux Quakeboy02 is offline     Reply With Quote
Old 10-27-2009, 12:10 AM   #3
kashyapa
LQ Newbie
 
Registered: Oct 2009
Posts: 12
Thanked: 0

Original Poster
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 ?
linuxubuntu kashyapa is offline     Reply With Quote
Old 10-27-2009, 12:32 AM   #4
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: washington U.S.
Distribution: Damn Small Linux, KateOs, M$ Ickdows Vista, My own OS
Posts: 1,241
Thanked: 60
i smell home work.
windows_vista smeezekitty is offline     Reply With Quote
Old 10-27-2009, 01:00 PM   #5
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Lenny 2.6.28.8 SMP
Posts: 2,716
Thanked: 57
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.
linux Quakeboy02 is offline     Reply With Quote
Old 10-27-2009, 09:20 PM   #6
kashyapa
LQ Newbie
 
Registered: Oct 2009
Posts: 12
Thanked: 0

Original Poster
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. "
linuxubuntu kashyapa is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 allthatfraz Linux - Software 3 04-21-2007 01:38 PM
System Info Programs ODMahowny Linux - Software 2 06-19-2006 03:04 AM
my table with programs when i press in button (left down corner) do no show programs sagi7ario Mandriva 1 03-12-2004 01:02 PM
How to get newly installed programs in programs list Brosky Linux - Software 5 02-06-2004 04:45 PM
system monitoring programs mog Linux - General 1 07-16-2003 02:14 AM


All times are GMT -5. The time now is 02:14 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration