GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
CREAT(2) FreeBSD System Calls Manual CREAT(2)

creat
create a new file

Standard C Library (libc, -lc)

#include <fcntl.h>

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

This interface is made obsolete by:
open(2).

The creat() function is the same as:

open(path, O_CREAT | O_TRUNC | O_WRONLY, mode);

open(2)

The creat() function appeared in Version 1 AT&T UNIX.
September 4, 2019 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 2 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.