summaryrefslogtreecommitdiff
path: root/cmd_cmd.c
blob: e8936873de6ee26d1c9de8b608d33f92cd551bf1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "cmd_cmd.h"

void *cmd_cmd(void *data)
{
	char *ret = NULL;
	int fret=-1;

	const int buf_size = 128;
	char buf[buf_size+1];

	printf("CMD\n");

	snprintf(buf, buf_size, "%s\n", data);



	ret = alloc_new_str(buf);

	return ret;
}