Lines Matching +defs:code +defs:string
34 #include <string.h>
105 * Return the length of a string array
135 send_control (int fd, int code)
137 unsigned char c = (unsigned char) code;
229 char *string;
236 size += (strlen (argv[i]) + 1); /* string length plus trailing space */
243 string = (char *) malloc (size);
244 if (!string)
249 string[0] = '\0';
251 /* build string */
254 strcat (string, argv[i]);
256 strcat (string, " ");
258 return string;
291 * Make sure we have two string arguments: the first is the .so name,
510 fprintf (stderr, "DOWN-ROOT: BACKGROUND: received command code: %d\n", command_code);
542 fprintf (stderr, "DOWN-ROOT: BACKGROUND: unknown command code: code=%d, exiting\n",