Category : Alternate Operating Systems - Quarterdeck DesqView, CP/M, etc
Archive   : PCCAPP.ZIP
Filename : FS2.H

 
Output of file : FS2.H contained in archive : PCCAPP.ZIP
/*
* This file is part of the Choices Operating System
* Developed by: The TAPESTRY Parallel Computing Laboratory
* University of Illinois at Urbana-Champaign
* Department of Computer Science
* 1304 W. Springfield Ave.
* Urbana, IL 61801
*
* Copyright (c) 1987, 1988, 1989, 1990, 1991
* The University of Illinois Board of Trustees.
* All Rights Reserved.
* CONFIDENTIAL INFORMATION. Distribution restricted under license agreement.
*
* Author: Peter W. Madany ([email protected])
* Contributing Author: Lee Lup Yuen ([email protected])
* Project Manager and Principal Investigator: Roy Campbell ([email protected])
*
* Funded by: NSF TAPESTRY Grant No. 1-5-30035, NASA ICLASS Grant
* No. 1-5-25469 and No. NSG1471 and AT&T Metronet Grant No. 1-5-37411.
*/
/*
* FileSystem.h - file system error condition constants
*/

#ifndef FileSystem_h
#define FileSystem_h
#ifdef __GNUG__
#pragma once
#pragma interface
#endif

enum Status {
Success = 0,
BadUnixFilename,
CantAcceptSocket,
CantConnectToSocket,
CantCreateDot,
ContainerFull,
DifferentContainers,
DirectoryBusy,
DirectoryHasKeys,
DirectoryInvalid,
EmptyFd,
FileAccessViolation, // Access to file denied.
FileExists, // File already exists.
IdNumberOutOfRange,
InvalidArgument, // Bad file access mode.
InvalidPath,
KeyExists,
KeyNotFound, // File or path not found.
KeyTooSmall,
KeyTooBig,
MemoryObjectFull,
MountPointBusy,
NotAProgram,
NoSuchContainer,
NoSuchFd,
NoSuchFile,
NotImplemented,
NotSpecial,
NumberOfArguments,
ObjectNotMounted,
OperationNotSupported, // Attemped to use create(), openOfCreate(),
// or open() with a class other than
// ReadFileStream or WriteFileStream.
OutOfMemory, // VirtualPC could not allocate buffers.
OutOfSpace,
ProtocolMismatch, // Attempted to use create() or openOrCreate() with
// a ReadFileStream.
ReadError,
SocketReadError,
SocketWriteError,
TooManyFiles, // DOS has run out of file handles.
TooManyKeys,
TooManySymbolicLinks,
UnbalancedParentheses,
UnknownNFSOp,
UnusedIdNumber,
WriteError,
Zz
};

extern const char * StatusCodes[];

// static const int GroupNobody = -2;
// static const int GroupAnybody = -1;

static const int AccessExecute = 01;
static const int AccessWrite = 02;
static const int AccessRead = 04;
static const int AccessOwner = 010;
static const int AccessMask = AccessExecute|AccessWrite|AccessRead|AccessOwner;

#endif FileSystem_h


  3 Responses to “Category : Alternate Operating Systems - Quarterdeck DesqView, CP/M, etc
Archive   : PCCAPP.ZIP
Filename : FS2.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/