mirror of
https://repo.or.cz/socat.git
synced 2024-12-23 07:52:32 +00:00
21 lines
635 B
C
21 lines
635 B
C
/* source: xiodiag.c */
|
|
/* Copyright Gerhard Rieger 2001, 2003 */
|
|
/* Published under the GNU General Public License V.2, see file COPYING */
|
|
|
|
/* this file contains source for some diagnostics */
|
|
|
|
#include "xiosysincludes.h"
|
|
#include "xioopen.h"
|
|
|
|
#include "xiodiag.h"
|
|
|
|
|
|
const char *ddirection[] = {
|
|
"reading", "writing", "reading and writing" } ;
|
|
|
|
/* compliant with S_ macros (sys/stat.h) */
|
|
const char *filetypenames[] = {
|
|
"undef", "named pipe", "character device", "undef",
|
|
"block device", "undef", "directory", "undef",
|
|
"regular file", "undef", "symbolic link", "undef",
|
|
"local socket", "undef", "undef", "\"MT\"?"} ;
|