I am working with UNIX operating system. What are systems calls in UNIX means.Are they sepearte set of commands in UNIX.
I am working with UNIX operating system. What are systems calls in UNIX means.Are they sepearte set of commands in UNIX.
As far as my understandiing goes, these are functions that can be used to control the behaviour of UNIX. These functions can be called from a C/C++ programs.
I am not too well versed with the concept. The following links might be helpful.
The unix library: Unix system calls
C, UNIX and Standard Libraries
Hope that helped.
Cheers,
Kalayama
[COLOR="Blue"][SIZE="2"]"If you are not living on the edge of your life, you are wasting space"[/SIZE][/COLOR]
Someone says "Impossible is nothing". The man next him says "Let me see you licking your elbow tip!"
System calls are functions in kernel. it requests the OS to do some thing for user program.
The commands we give in shell invokes a system call to kernel to perform the operation.
This is another good link for this topic. It correlates C,Unix and Unix System Calls.
Programming in C
Last edited by kalayama; 12-26-2006 at 07:48 AM.
[COLOR="Blue"][SIZE="2"]"If you are not living on the edge of your life, you are wasting space"[/SIZE][/COLOR]
Someone says "Impossible is nothing". The man next him says "Let me see you licking your elbow tip!"
Friends after studying this topic even I want to learn a lot on system calls.Can someone out here suggest a good book to learn about system calls covering C and UNIX operating system.
I don't know of a hard covered book. buit the link pasted above in my previous post is about the best you can get! That link covers some awesome topics and explains them beautifully.
Cheers!
Kalayama
[COLOR="Blue"][SIZE="2"]"If you are not living on the edge of your life, you are wasting space"[/SIZE][/COLOR]
Someone says "Impossible is nothing". The man next him says "Let me see you licking your elbow tip!"
You could checkout this site. linux.about.com thats a good one.
http://linux.about.com/library/cmd/blcmdl2_syscalls.htm
Cheers,
-Chandan.
I thnk Unix Internals by VAHALIA is very good book, explaining the internals of UNIX covering signals, Process , file systems, SIGNALs...