FreeCalypso > hg > freecalypso-sw
view rvinterf/tmsh/misc.c @ 294:797468042b32
fc-fsio: fwrite from file: handling of 0 length files implemented
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sat, 01 Mar 2014 04:04:20 +0000 |
parents | c146f38d2b5f |
children |
line wrap: on
line source
/* * Commands which don't belong anywhere else */ #include <sys/types.h> #include <stdio.h> #include <string.h> #include <strings.h> #include <stdlib.h> #include "pktmux.h" #include "etm.h" #include "tmffs1.h" void cmd_check_ffs1(argc, argv) char **argv; { u_char cmdpkt[5]; cmdpkt[1] = ETM_FFS1; cmdpkt[2] = FPI_TMFFS_VERSION; cmdpkt[3] = FPI_END; send_etm_cmd(cmdpkt, 3); }