Penguin

Differences between current version and previous revision of creat(2).

Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History

Newer page: version 7 Last edited on Sunday, November 3, 2002 2:31:40 pm by PerryLorier
Older page: version 6 Last edited on Sunday, November 3, 2002 2:29:16 pm by PerryLorier Revert
@@ -1,9 +1,10 @@
 !!NAME 
 creat - open and possibly create a file or device 
 !!SYNOPSIS 
+ __#include <sys/types.h>__ /* for mode_t */  
  __#include <sys/stat.h>__ /* for the S_* contants */ 
- __#include <unistd .h>__ 
+ __#include <fcntl .h>__ /* for creat() prototype */  
  __int creat(const char *__''pathname''__, mode_t__ ''mode''__);__ 
 !!DESCRIPTION 
  
 creat(2) is a special form of open(2), refer to open(2) for more information. 
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.