Added 'Misc./opener.c'

This commit is contained in:
anon 2024-12-10 20:39:02 +01:00
parent 70dbb67c1e
commit 4fc323c790

8
Misc./opener.c Normal file
View File

@ -0,0 +1,8 @@
/* @BAKE
gcc -o $* $@
strace ./opener
@STOP
*/
// NOTE: this file is for testing strace, not C
#include <fcntl.h>
signed main() { open("example.txt", O_CREAT | O_WRONLY); }