Back to index

glibc  2.9
tmpnam_r.c File Reference
#include <stdio.h>

Go to the source code of this file.


char * tmpnam_r (char *s)

Function Documentation

char* tmpnam_r ( char *  s)

Definition at line 24 of file tmpnam_r.c.

  if (s == NULL)
    return NULL;

  if (__path_search (s, L_tmpnam, NULL, NULL, 0))
    return NULL;
  if (__gen_tempname (s, 0, __GT_NOCREATE))
    return NULL;

  return s;

Here is the call graph for this function: