Talk:Open (system call)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Computing (Rated Start-class)
WikiProject icon This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Start-Class article Start  This article has been rated as Start-Class on the project's quality scale.
 ???  This article has not yet received a rating on the project's importance scale.
 

My man page for "open" indicates that the information here on O_CREAT, O_EXCL is incorrect. The information here also ignores the O_TRUNC flag. My understanding is that O_CREAT will not overwrite an existing file. In order to do that you use the O_TRUNC flag. Further, if O_CREAT | O_EXCL is used, the open will fail if the file already exists. Dwkimery 15:37, 23 September 2007 (UTC)

You're right. I've fixed it. 82.108.130.2 (talk) 18:13, 24 April 2009 (UTC) [mdw]

this open system call can be used for I/O device communication also —Preceding unsigned comment added by 203.101.103.2 (talk) 12:55, 27 August 2009 (UTC)

Details in Clib posix[edit]

Lets leave all the C details in the referenced C library POSIX page. DG12 (talk) 19:09, 12 August 2011 (UTC)