#include #include #include void main() { int handle; handle = creat( "file", S_IWRITE | S_IREAD ); if( handle != -1 ) { /* process file */ close( handle ); } }