The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 08:48 PM
System calls joshighanshyam High Level Programming 1 03-19-2008 08:57 AM
System calls ? TECHRAMESH SUN Solaris 1 05-16-2006 01:05 AM
System calls for cp and mv gaurava99 UNIX for Dummies Questions & Answers 2 04-25-2005 10:04 AM
System Calls clickonline1 UNIX for Dummies Questions & Answers 2 10-06-2001 05:30 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-26-2006
PlunderBunny PlunderBunny is offline
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 06:11 PM..
  #2 (permalink)  
Old 03-26-2006
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,717
Gosh, this sounds a lot like homework...
  #3 (permalink)  
Old 03-26-2006
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:01 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0