The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
system calls sangramdas BSD 1 05-08-2008 05:48 PM
System calls joshighanshyam High Level Programming 1 03-19-2008 04:57 AM
System calls ? TECHRAMESH SUN Solaris 1 05-15-2006 10:05 PM
System calls for cp and mv gaurava99 UNIX for Dummies Questions & Answers 2 04-25-2005 07:04 AM
System Calls clickonline1 UNIX for Dummies Questions & Answers 2 10-06-2001 02:30 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-26-2006
Registered User
 

Join Date: Mar 2006
Posts: 1
System calls?

open, creat, read, write, lseek and close

Are they all primitive?




*Another Question: is there a different between a system call, and an i/o system call?

Last edited by PlunderBunny; 03-26-2006 at 03:11 PM.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 03-26-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,861
Gosh, this sounds a lot like homework...
Reply With Quote
  #3 (permalink)  
Old 03-26-2006
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,454
This could be someone reading a book and getting lost in the terminology. So I will give the poster the benefit of doubt and assume that the rule against homework questions is not being broken.

Yes those 6 functions are usually considered "primitive". Over the years the open system call has gained more power. creat can now be implemented as a call to open. That is the only questionable one among the group. If you look at all of the system calls you will see that a lot of them are involved in i/o. You could use the term "i/o system calls" to describe that set. But you would need some other term like, "non i/o system calls" for stuff like gettimeofday, setuid, etc. Reasonable minds could disagree over which class gets certain system calls like exit and exec.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:29 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0