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

void *cmd_cmd(void *data)
{
	char *param = (char *)data;
	char *ret = NULL;

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

	printf("CMD\n");

	snprintf(buf, buf_size, "%s", param);

	ret = alloc_new_str(buf);

	return ret;
}