S
Steve
Hi,
I have the following structure:
typedef struct {
char *send;
char *expect;
int timeout;
int retryCount;
} COMMAND;
is the following definition ok?
COMMAND = {"hello", "OK", 50, 20}
or should I allocate space for 'send', and 'expect' first? Thanks,
Steve
I have the following structure:
typedef struct {
char *send;
char *expect;
int timeout;
int retryCount;
} COMMAND;
is the following definition ok?
COMMAND = {"hello", "OK", 50, 20}
or should I allocate space for 'send', and 'expect' first? Thanks,
Steve