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.

If you have a problem and you think awk(1) is the solution, then you have two problems.
— David Tilbrook