creat.c\fcntl\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/fcntl/creat.c
blob: c9c43910d8245ce5beeea326ed989aaeeabbe3a5 (plain) (blame)
1
2
3
4
5
6
#include <fcntl.h>
int creat(const char *filename, mode_t mode)
{
	return open(filename, O_CREAT|O_WRONLY|O_TRUNC, mode);
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月07日 12:44:54 +0000

AltStyle によって変換されたページ (->オリジナル) /