Version 1.8.0.0
[socat.git] / xiodiag.c
blob90465796e682f266d3d2e1d406755c4f6a5a07d8
1 /* source: xiodiag.c */
2 /* Copyright Gerhard Rieger and contributors (see file CHANGES) */
3 /* Published under the GNU General Public License V.2, see file COPYING */
5 /* this file contains source for some diagnostics */
7 #include "xiosysincludes.h"
8 #include "xioopen.h"
10 #include "xiodiag.h"
13 const char *ddirection[] = {
14 "reading", "writing", "reading and writing" } ;
16 /* compliant with S_ macros (sys/stat.h) */
17 const char *filetypenames[] = {
18 "undef", "named pipe", "character device", "undef",
19 "block device", "undef", "directory", "undef",
20 "regular file", "undef", "symbolic link", "undef",
21 "local socket", "undef", "undef", "\"MT\"?"} ;