aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/cmd_blk.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/cmd_blk.c')
-rw-r--r--cmd/cmd_blk.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/cmd/cmd_blk.c b/cmd/cmd_blk.c
new file mode 100644
index 0000000..db64f42
--- /dev/null
+++ b/cmd/cmd_blk.c
@@ -0,0 +1,17 @@
+#include "buf.h"
+#include "core.h"
+
+#include "libcmd/cmd.h"
+#include "libcmd/cmd_parse.h"
+
+extern file_t *g_file;
+extern buf_t *g_buf;
+extern int g_flags;
+
+int c_blk( cmd_arg_t *arg )
+{
+ printf("FILE BLOCK SIZE %u\n", g_file->blk_size );
+ printf("BUFFER BLOCK SIZE %d (MAX %d)\n", g_buf->size, g_buf->buf_size );
+
+ return 0;
+} \ No newline at end of file