source: vendor/emx/current/src/dos/stat.inc

Last change on this file was 18, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 1.7 KB
Line 
1;
2; STAT.INC -- Assembler version of sys/stat.h
3;
4; Copyright (c) 1991-1995 by Eberhard Mattes
5;
6; This file is part of emx.
7;
8; emx is free software; you can redistribute it and/or modify it
9; under the terms of the GNU General Public License as published by
10; the Free Software Foundation; either version 2, or (at your option)
11; any later version.
12;
13; emx is distributed in the hope that it will be useful,
14; but WITHOUT ANY WARRANTY; without even the implied warranty of
15; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16; GNU General Public License for more details.
17;
18; You should have received a copy of the GNU General Public License
19; along with emx; see the file COPYING. If not, write to
20; the Free Software Foundation, 59 Temple Place - Suite 330,
21; Boston, MA 02111-1307, USA.
22;
23; See emx.asm for a special exception.
24;
25
26S_IREAD = 0400Q ; Owner: read
27S_IWRITE = 0200Q ; Owner: write
28S_IEXEC = 0100Q ; Owner: exec
29
30S_IFMT = 0160000Q ; Mask for file type
31S_IFCHR = 0020000Q ; Character device
32S_IFDIR = 0040000Q ; Directory
33S_IFREG = 0100000Q ; Regular file
34S_IFSOCK = 0140000Q ; Socket (or pipe)
35
36STAT STRUCT
37ST_DEV DD ?
38ST_INO DD ?
39ST_MODE DD ?
40ST_NLINK DD ?
41ST_UID DD ?
42ST_GID DD ?
43ST_RDEV DD ?
44ST_SIZE DD ?
45ST_ATIME DD ?
46ST_MTIME DD ?
47ST_CTIME DD ?
48ST_ATTR DD ?
49ST_RESERVED DD ?
50STAT ENDS
Note: See TracBrowser for help on using the repository browser.