Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ doschmod(3) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DOS services library

doscreate

dosopen

doschmod

Purpose

     Changes the mode of a DOS file.

Library

     DOS Services Library (libdos.a)

Syntax

     #include <dos.h>

     int doschmod (path, mode)
     char *path;
     long mode;

Description

     The  doschmod subroutine  changes  the mode  of the  file
     specified by the path parameter  to the mode specified by
     the mode  parameter.  (For  information about  modes, see
     "doscreate.")

Return Value

     Upon successful completion, a value of 0 is returned.  If
     the doschmod subroutine fails, a  value of -1 is returned
     and doserrno is set to indicate the error.

Related Information

     In this book:  "DOS  services library," "doscreate," and
     "dosopen."

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026