tail head cat sleep
QR code linking to this page

manページ  — CREAT

名称

creat – 新しいファイルを作成する

内容

ライブラリ

Standard C Library (libc, -lc)

書式

#include <fcntl.h>

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

解説

このインタフェースは open(2) によって旧式のものとなっています。

creat() 関数は次のものと同じです。

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

関連項目

open(2)

歴史

creat() 関数は AT&T v6 で登場しました。

CREAT (2) June 2, 1993

tail head cat sleep
QR code linking to this page


このマニュアルページサービスについてのご意見は Ben Bullock にお知らせください。 Privacy policy.

Today, the Unix equivalent of a power drill would have 20 dials and switches, come with a nonstandard plug, require the user to hand-wind the motor coil, and not accept 3/8" or 7/8" drill bits (though this would be documented in the BUGS section of its instruction manual).
— The Unix Haters' handbook