HomeSort by: relevance | last modified time | path
    Searched defs:tpath (Results 1 - 2 of 2) sorted by relevancy

  /src/usr.bin/man/
man.c 756 char buf[MAXPATHLEN], cmd[MAXPATHLEN], tpath[MAXPATHLEN]; local in function:build_page
811 (void)snprintf(tpath, sizeof (tpath), "%s%s%s", tmpdir,
813 if ((fd = mkstemp(tpath)) == -1) {
814 warn("%s", tpath);
818 (void)snprintf(buf, sizeof(buf), "%s > %s", fmt, tpath);
822 if ((*pathp = strdup(tpath)) == NULL) {
  /src/games/fortune/fortune/
fortune.c 452 char *tpath, *offensive, *tfile = strdup(file), *tf; local in function:add_file
457 tpath = NULL;
460 tpath = do_malloc(strlen(dir) + strlen(file) + 2);
461 (void) strcat(strcat(strcpy(tpath, dir), "/"), file);
462 path = tpath;
465 if (tpath)
466 free(tpath);
475 if (tpath) {
476 free(tpath);
477 tpath = NULL
    [all...]

Completed in 47 milliseconds