1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-13 15:13:23 +00:00

socat V1.6.0.0 (initial GIT commit)

This commit is contained in:
Gerhard Rieger 2008-01-27 13:00:08 +01:00
commit b819572f5e
170 changed files with 59193 additions and 0 deletions

21
xiodiag.c Normal file
View file

@ -0,0 +1,21 @@
/* $Id: xiodiag.c,v 1.3 2003/05/21 05:16:38 gerhard Exp $ */
/* 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\"?"} ;