Lines Matching defs:reply
136 char* reply, int replyMaxSize)
144 ssize_t bytesRead = read(device->fd, &reply[i], 1);
148 if (reply[i] == '\n') {
153 if (reply[i] == '\r') {
154 reply[i] = '\0';
156 // is command reply or command echo (if any) ?
157 if (!strcasecmp(reply, command))
167 // replyMaxSize not large enough to store the full reply line.
179 char reply[8];
183 reply, sizeof(reply)) != B_OK
184 || strcmp(reply, "OK"))
291 char reply[32];
297 reply, sizeof(reply)) != B_OK
298 || strcmp(reply, "OK")) {
304 reply[0] = '\0';
311 reply, sizeof(reply)) != B_OK
312 || strncmp(reply, "CONNECT", 7)) {
325 if (strlen(reply) > 7) {
326 // get speed from "CONNECTxxxx" reply
327 device->link_speed = atoi(&reply[8]);