• Home
  • Raw
  • Download

Lines Matching refs:toybuf

126       snprintf(toybuf, sizeof(toybuf), "'%d': premature EOF\n", lno);  in parse_crontab()
146 snprintf(toybuf, sizeof(toybuf), "'%d': %s\n", lno, line); in parse_crontab()
157 snprintf(toybuf, sizeof(toybuf), "'%d': %s\n", lno, line); in parse_crontab()
163 snprintf(toybuf, sizeof(toybuf), "'%d': %s\n", lno, line); in parse_crontab()
171 snprintf(toybuf, sizeof(toybuf), "'%d': %s\n", lno, line); in parse_crontab()
177 snprintf(toybuf, sizeof(toybuf), "'%d': bad minute\n", lno); in parse_crontab()
181 snprintf(toybuf, sizeof(toybuf), "'%d': bad hour\n", lno); in parse_crontab()
185 snprintf(toybuf, sizeof(toybuf), "'%d': bad day-of-month\n", lno); in parse_crontab()
189 snprintf(toybuf, sizeof(toybuf), "'%d': bad month\n", lno); in parse_crontab()
193 snprintf(toybuf, sizeof(toybuf), "'%d': bad day-of-week\n", lno); in parse_crontab()
197 snprintf(toybuf, sizeof(toybuf), "'%d': bad command\n", lno); in parse_crontab()
207 printf("Error at line no %s", toybuf); in parse_crontab()
216 snprintf(toybuf, sizeof(toybuf), "%s%s", TT.cdir, name); in do_list()
217 fdin = xopenro(toybuf); in do_list()
224 snprintf(toybuf, sizeof(toybuf), "%s%s", TT.cdir, name); in do_remove()
225 if (unlink(toybuf)) in do_remove()
233 snprintf(toybuf, sizeof(toybuf), "%s%s", TT.cdir, dest); in update_crontab()
234 fdout = xcreate(toybuf, O_WRONLY|O_CREAT|O_TRUNC, 0600); in update_crontab()
275 snprintf(toybuf, sizeof(toybuf), "%s%s", TT.cdir, pwd->pw_name); in do_edit()
277 if (!stat(toybuf, &sb)) { // file exists and have some content. in do_edit()
279 srcfd = xopenro(toybuf); in do_edit()