Lines Matching defs:pattern
58 @deftypefn Replacement int mkstemps (char *@var{pattern}, int @var{suffix_len})
60 Generate a unique temporary file name from @var{pattern}.
61 @var{pattern} has the form:
68 length). The last six characters of @var{pattern} before @var{suffix}
78 mkstemps (char *pattern, int suffix_len)
90 len = strlen (pattern);
93 || strncmp (&pattern[len - 6 - suffix_len], "XXXXXX", 6))
98 XXXXXX = &pattern[len - 6 - suffix_len];
126 fd = open (pattern, O_BINARY|O_RDWR|O_CREAT|O_EXCL, 0600);
138 pattern[0] = '\0';