LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-20-2005, 02:48 AM   #1
cherry1
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Rep: Reputation: 0
Unhappy information on system call mechanism


howdy!
plz tell me where i can find information on mechanism of system calls in linux. google has let me down completely and i dont know who to turn to.
thnx in advance!
 
Old 12-20-2005, 07:21 AM   #2
viral217
LQ Newbie
 
Registered: Dec 2005
Posts: 3

Rep: Reputation: 0
Hi,
I am willing to answer your question, but i am not sure what information about system calls are you looking. System calls are the calls that the OS provides so that you (as an application) can perform low level operations. They are the interface between the OS and you (application).

What information about system calls do you want? Usually 'man <system-call>' is more than helpful. If you could elaborate further I will try to help.

Hope this helps,

Viral
 
Old 12-22-2005, 02:21 AM   #3
cherry1
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Original Poster
Rep: Reputation: 0
ok, according to lecture slides of my professor, system calls are of the following types:
1-process control
2-file management
3-device management
4-information maintainence
5-communication

and the methods used to pass parameters to system calls are the following:
1- parameter in register
2- paremeters in table and then pass address of table
3- pushed onto a stack

i have to find the system calls in each category and find which method is used to pass parameters to it. except that im unable to find any such resource where i can get this info. like i said.....google has let me down.

another question:
if i dont have linux installed...is there any way i can access the manual? like is it available online, so i could search for all the system calls?
 
Old 12-22-2005, 02:58 PM   #4
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
while i ordinarily HATE schoolwork because just like this the questions are vague and arbitrary. since you don't have Linux to play with i give examples.
In all fairness it is not easy to figure out even if you have the Linux kernel source (which you should get)
you should install Linux on something !

1) sigaction()
2) fcntl()
3) ioctl()
like all school questions the last two are too vague to actually have answers
but i will try but might misunderstand
how do you maintain information ???
4) sysinfo()
and as above what the heck is communication ? interprocess ?
5) pipe()

now you can google
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to write a system call to display the process information? balasquare@yahoo.com Programming 3 09-30-2005 01:05 AM
using system call ej25 Programming 9 11-30-2004 11:45 AM
Is it possible to use system() and get the return value from the system call newguy21 Programming 1 08-11-2004 01:37 PM
System call dami Linux - General 0 11-18-2003 11:18 AM
about system call alchen1999 Programming 10 09-01-2003 03:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:09 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration