creat_creat man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

open (SunOS)							  open (SunOS)

       open, creat - Open a file for reading or writing

       #include <fcntl.h> #include <sys/stat.h> #include <sys/types.h>

       int open (
	       const char *path,
	       int oflag [ ,
	       mode_t mode ] );

       int creat (
	       const char *path,
	       mode_t mode );

       Specifies  the  file  to	 be  opened or created.	 If the path parameter
       refers to a symbolic link, the open() function opens the	 file  pointed
       to  by  the  symbolic link.  Specifies the type of access, special open
       processing, the type of update, and the initial state of the open file.
       The parameter value is constructed by logically ORing special open pro‐
       cessing flags.  These flags are defined in the fcntl.h header file  and
       are  described  below.	Specifies the read, write, and execute permis‐
       sions of the file to be created (requested by the O_CREAT flag  in  the
       open()  interface).   If	 the  file  already  exists, this parameter is
       ignored. This  parameter	 is  constructed  by  logically	 ORing	values
       described in the sys/mode.h header file.

       Requires the fcntl.h, sys/stat.h, and sys/types.h header files. Changes
       the declaration of variable mode to mode_t.

       Digital UNIX Functions:

	   open(2) delim off

								  open (SunOS)

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net