代码搜索结果
找到约 10,000 项符合
O 的代码
system.c
#include
#include
#include
int main()
{
char c;
int in, out;
in = open("file.in", O_RDONLY);
out = open("file.out", O_WRONLY|O_CREAT, S_IRUSR|S_IW
fcntl.h
#ifndef _M68K_FCNTL_H
#define _M68K_FCNTL_H
#include
/* open/fcntl - O_SYNC is only implemented on blocks devices and on files
located on an ext2 file system */
#define O_ACCMO
test25.c
/* test4: open (), close () (p) Jan-Mark Wams. email: jms@cs.vu.nl */
/* Not tested: O_NONBLOCK on special files, supporting it.
** On a read-only file system, some error reports are to be expecte
applescript.m
/*****************************************************************************
* applescript.m: MacOS X AppleScript support
**************************************************************************
applescript.m
/*****************************************************************************
* applescript.m: MacOS X AppleScript support
**************************************************************************
xfopena.c
/* $Revision: 1.1 $
**
*/
#include
#include
/*
** Open a file in append mode. Since not all fopen's set the O_APPEND
** flag, we do it by hand.
*/
FILE *
xfopena(p)
char
system.c
#include
#include
#include
int main()
{
char c;
int in, out;
in = open("file.in", O_RDONLY);
out = open("file.out", O_WRONLY|O_CREAT, S_IRUSR|S_IW
system.c
#include
#include
#include
int main()
{
char c;
int in, out;
in = open("file.in", O_RDONLY);
out = open("file.out", O_WRONLY|O_CREAT, S_IRUSR|S_IW
system.c
#include
#include
#include
int main()
{
char c;
int in, out;
in = open("file.in", O_RDONLY);
out = open("file.out", O_WRONLY|O_CREAT, S_IRUSR|S_IW
system.c
#include
#include
#include
int main()
{
char c;
int in, out;
in = open("file.in", O_RDONLY);
out = open("file.out", O_WRONLY|O_CREAT, S_IRUSR|S_IW