Lines Matching defs:project
52 #include <project.h>
82 "usage: at [-c|-k|-s] [-m] [-f file] [-p project] [-q queuename] "\
84 " at [-c|-k|-s] [-m] [-f file] [-p project] [-q queuename] "\
86 " at -l [-p project] [-q queuename] [at_job_id...]\n"\
145 static projid_t project;
169 struct project prj, *pprj;
214 project = pprj->pj_projid;
222 "project %s (%d)\n"),
224 project);
233 project = pprj->pj_projid;
241 "project %s (%d)\n"),
243 project);
248 (void) fprintf(stderr, gettext("at: project "
585 struct project prj, *pprj;
633 (void) printf(": project: %d\n", project);
636 * Check if current user is a member of current project.
639 * not belong to current project, user's default project
641 * the project (": project: <project>\n") in the job file.
645 project = getprojid();
646 pprj = getprojbyid(project, &prj, pbuf, sizeof (pbuf));
649 (void) printf(": project: %d\n", project);
899 * open the command file and read the project id line
900 * compare to the project number provided via -p on the command line
903 #define SKIPCOUNT 3 /* lines to skip to get to project line in file */
918 fscanf(fp, ": project: %d\n", &sproj);
921 return (sproj == project ? 0 : 1);