Mercurial > hg > octave-lojdl > gnulib-hg
annotate lib/file-type.h @ 5813:6962b5c5069f
Merge from coreutils.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Mon, 02 May 2005 07:00:50 +0000 |
parents | 146129232fe0 |
children | a48fb0e98c8c |
rev | line source |
---|---|
3866
4298c2824f6d
Use the version from diffutils-2.8.2.
Jim Meyering <jim@meyering.net>
parents:
3851
diff
changeset
|
1 /* Return a string describing the type of a file. |
4298c2824f6d
Use the version from diffutils-2.8.2.
Jim Meyering <jim@meyering.net>
parents:
3851
diff
changeset
|
2 |
5813 | 3 Copyright (C) 1993, 1994, 2001, 2002, 2004, 2005 Free Software |
4 Foundation, Inc. | |
3866
4298c2824f6d
Use the version from diffutils-2.8.2.
Jim Meyering <jim@meyering.net>
parents:
3851
diff
changeset
|
5 |
4298c2824f6d
Use the version from diffutils-2.8.2.
Jim Meyering <jim@meyering.net>
parents:
3851
diff
changeset
|
6 This program is free software; you can redistribute it and/or modify |
4298c2824f6d
Use the version from diffutils-2.8.2.
Jim Meyering <jim@meyering.net>
parents:
3851
diff
changeset
|
7 it under the terms of the GNU General Public License as published by |
4298c2824f6d
Use the version from diffutils-2.8.2.
Jim Meyering <jim@meyering.net>
parents:
3851
diff
changeset
|
8 the Free Software Foundation; either version 2, or (at your option) |
4298c2824f6d
Use the version from diffutils-2.8.2.
Jim Meyering <jim@meyering.net>
parents:
3851
diff
changeset
|
9 any later version. |
3843 | 10 |
3866
4298c2824f6d
Use the version from diffutils-2.8.2.
Jim Meyering <jim@meyering.net>
parents:
3851
diff
changeset
|
11 This program is distributed in the hope that it will be useful, |
4298c2824f6d
Use the version from diffutils-2.8.2.
Jim Meyering <jim@meyering.net>
parents:
3851
diff
changeset
|
12 but WITHOUT ANY WARRANTY; without even the implied warranty of |
4298c2824f6d
Use the version from diffutils-2.8.2.
Jim Meyering <jim@meyering.net>
parents:
3851
diff
changeset
|
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
4298c2824f6d
Use the version from diffutils-2.8.2.
Jim Meyering <jim@meyering.net>
parents:
3851
diff
changeset
|
14 GNU General Public License for more details. |
4298c2824f6d
Use the version from diffutils-2.8.2.
Jim Meyering <jim@meyering.net>
parents:
3851
diff
changeset
|
15 |
4298c2824f6d
Use the version from diffutils-2.8.2.
Jim Meyering <jim@meyering.net>
parents:
3851
diff
changeset
|
16 You should have received a copy of the GNU General Public License |
4298c2824f6d
Use the version from diffutils-2.8.2.
Jim Meyering <jim@meyering.net>
parents:
3851
diff
changeset
|
17 along with this program; if not, write to the Free Software Foundation, |
4298c2824f6d
Use the version from diffutils-2.8.2.
Jim Meyering <jim@meyering.net>
parents:
3851
diff
changeset
|
18 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ |
4298c2824f6d
Use the version from diffutils-2.8.2.
Jim Meyering <jim@meyering.net>
parents:
3851
diff
changeset
|
19 |
4298c2824f6d
Use the version from diffutils-2.8.2.
Jim Meyering <jim@meyering.net>
parents:
3851
diff
changeset
|
20 /* Written by Paul Eggert and Jim Meyering. */ |
4298c2824f6d
Use the version from diffutils-2.8.2.
Jim Meyering <jim@meyering.net>
parents:
3851
diff
changeset
|
21 |
3871
b1484678bce5
(FILE_TYPE_H): Guard entire contents with #ifndef.
Jim Meyering <jim@meyering.net>
parents:
3866
diff
changeset
|
22 #ifndef FILE_TYPE_H |
b1484678bce5
(FILE_TYPE_H): Guard entire contents with #ifndef.
Jim Meyering <jim@meyering.net>
parents:
3866
diff
changeset
|
23 # define FILE_TYPE_H 1 |
b1484678bce5
(FILE_TYPE_H): Guard entire contents with #ifndef.
Jim Meyering <jim@meyering.net>
parents:
3866
diff
changeset
|
24 |
5813 | 25 # include <sys/types.h> |
26 # include <sys/stat.h> | |
27 | |
3843 | 28 char const *file_type (struct stat const *); |
29 | |
3871
b1484678bce5
(FILE_TYPE_H): Guard entire contents with #ifndef.
Jim Meyering <jim@meyering.net>
parents:
3866
diff
changeset
|
30 #endif /* FILE_TYPE_H */ |