|
|
Micropolis Activity
/*
* fcntl.c
*
* Public-domain relatively quick-and-dirty implemenation of
* ANSI library routine for System V Unix systems.
*
* It's written in old-style C for maximal portability.
*
* Arnold Robbins
* January, February, 1991
*
* Fixes from [email protected]
* February 1991
*-----------------------------------------------------------------------------
* $Id: fcntl.c,v 1.1.1.1 2020/03/11 09:08:51 root Exp $
*-----------------------------------------------------------------------------
*/
/*
* To avoid Unix version problems, this code has been simplified to avoid
* const and size_t, however this can cause an incompatible definition on
* ansi-C systems, so a game is played with defines to ignore a strftime
* declaration in time.h
*/
#include <stdio.h>
/* fcntl --- performs open file attribute access */
int
fcntl(fd, cmd, arg)
int fd;
int cmd;
int arg;
{
int rc = 0;
return rc;
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.