Lines Matching defs:temp
11 char temp[128];
14 fgets(temp, sizeof(temp), stdin);
16 if (temp[strlen(temp) - 1] == '\n') /* A new line? */
18 temp[strlen(temp) - 1] = '\0';
21 if (temp[0] != '\0')
23 strncpy(pWorkgroup, temp, maxLenWorkgroup - 1);
27 fgets(temp, sizeof(temp), stdin);
29 if (temp[strlen(temp) - 1] == '\n') /* A new line? */
31 temp[strlen(temp) - 1] = '\0';
34 if (temp[0] != '\0')
36 strncpy(pUsername, temp, maxLenUsername - 1);
40 fgets(temp, sizeof(temp), stdin);
42 if (temp[strlen(temp) - 1] == '\n') /* A new line? */
44 temp[strlen(temp) - 1] = '\0';
47 if (temp[0] != '\0')
49 strncpy(pPassword, temp, maxLenPassword - 1);