Lines Matching refs:str
114 void control_writeln(const char *str)
116 ssize_t len = strlen(str);
122 ret = send(control_fd, str, len, MSG_MORE);
146 char str[32];
148 if (snprintf(str, sizeof(str), "%lu", value) >= sizeof(str)) {
153 control_writeln(str);
159 char *str;
161 str = control_readln();
163 if (!str)
166 value = strtoul(str, NULL, 10);
167 free(str);
231 void control_expectln(const char *str)
237 control_cmpln(line, str, true);
242 bool control_cmpln(char *line, const char *str, bool fail)
244 if (strcmp(str, line) == 0)
249 str, line);