Mercurial > hg > octave-jordi > gnulib-hg
annotate lib/modechange.h @ 5813:6962b5c5069f
Merge from coreutils.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Mon, 02 May 2005 07:00:50 +0000 |
parents | a535859efd14 |
children | a48fb0e98c8c |
rev | line source |
---|---|
5 | 1 /* modechange.h -- definitions for file mode manipulation |
5813 | 2 |
3 Copyright (C) 1989, 1990, 1997, 2003, 2004, 2005 Free Software | |
4 Foundation, Inc. | |
5 | 5 |
6 This program is free software; you can redistribute it and/or modify | |
7 it under the terms of the GNU General Public License as published by | |
8 the Free Software Foundation; either version 2, or (at your option) | |
9 any later version. | |
10 | |
11 This program is distributed in the hope that it will be useful, | |
12 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 GNU General Public License for more details. | |
15 | |
16 You should have received a copy of the GNU General Public License | |
650
b4ef1c1a0171
update FSF address in copyright
Jim Meyering <jim@meyering.net>
parents:
610
diff
changeset
|
17 along with this program; if not, write to the Free Software Foundation, |
b4ef1c1a0171
update FSF address in copyright
Jim Meyering <jim@meyering.net>
parents:
610
diff
changeset
|
18 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ |
5 | 19 |
20 /* Masks for the `flags' field in a `struct mode_change'. */ | |
21 | |
1170 | 22 #if ! defined MODECHANGE_H_ |
23 # define MODECHANGE_H_ | |
24 | |
1817
4682d93c9b1a
Include <config.h>, <sys/types.h> for mode_t.
Jim Meyering <jim@meyering.net>
parents:
1170
diff
changeset
|
25 # include <sys/types.h> |
4682d93c9b1a
Include <config.h>, <sys/types.h> for mode_t.
Jim Meyering <jim@meyering.net>
parents:
1170
diff
changeset
|
26 |
5813 | 27 struct mode_change *mode_compile (const char *); |
4397
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
2807
diff
changeset
|
28 struct mode_change *mode_create_from_ref (const char *); |
5813 | 29 mode_t mode_adjust (mode_t, struct mode_change const *, mode_t); |
1170 | 30 |
31 #endif |