Lines Matching defs:args
103 char *args[4];
143 if((args[0] = strtok_r(buf, " \t", &last)) == NULL ||
144 (args[1] = strtok_r(NULL, " \t", &last)) == NULL ||
145 (args[2] = strtok_r(NULL, " \t", &last)) == NULL ||
146 (args[3] = strtok_r(NULL, " \t", &last)) == NULL) {
147 if(args[0] != NULL) /* this would include comment lines */
152 l = find_limit(args[2]);
154 syslog(LOG_ERR, "%s: line %d: unknown limit %s", file, lineno, args[2]);
157 if(strcmp(args[3], "-") == 0) {
161 value = strtol(args[3], &end, 10);
163 syslog(LOG_ERR, "%s: line %d: bad value %s", file, lineno, args[3]);
167 syslog(LOG_ERR, "%s: line %d: bad value %s", file, lineno, args[3]);
178 if(strcmp(args[0], pwd->pw_name) == 0)
180 if(*args[0] == '@') {
182 gr = getgrnam(args[0] + 1);
186 if(strcmp(args[0], "*") == 0)
198 if(strcasecmp(args[1], "soft") == 0 || strcmp(args[1], "-") == 0)
200 if(strcasecmp(args[1], "hard") == 0 || strcmp(args[1], "-") == 0)