代码搜索结果
找到约 10,000 项符合
O 的代码
test6_1.txt
#include
#include
#include
int write_open(const char *pathname, mode_t mode)
{
int retval;
if((retval=open(pathname, O_WRONLY|O_CREAT|O_TRUNC, mode
test6_1.txt
#include
#include
#include
int write_open(const char *pathname, mode_t mode)
{
int retval;
if((retval=open(pathname, O_WRONLY|O_CREAT|O_TRUNC, mode
open_excl.c
#include
#include
#include "open.h"
int open_excl(fn) char *fn;
{ return open(fn,O_WRONLY | O_EXCL | O_CREAT,0644); }
device.c
/*
* Functions to handle I2O devices
*
* Copyright (C) 2004 Markus Lidel
*
* This program is free software; you can redistribute it and/or modify it
* under the
i2o.h
/*
* IBM ASM Service Processor Device Driver
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the
output.m
/*****************************************************************************
* output.m: MacOS X Output Dialog
*****************************************************************************
* Copy
output.m
/*****************************************************************************
* output.m: MacOS X Output Dialog
*****************************************************************************
* Copy
set_timers_1.txt
II0B
O01
DI08
O00
DI0361
O0000
DI0080
O0000
set_timers_0.txt
II0B
O01
DI08
O00
DI0361
O0080
DI0000
O0080
bigfile.c
#include
#include
int
main()
{
int fd;
fd=open("/tmp/big",O_WRONLY|O_CREAT|O_TRUNC,0600);
if (fd==-1) {
perror("open");
exit(1);
}
lseek(fd,1024*1024*1024-1,SEEK_SET);