GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <errno.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
#include "statdefs.h"
Go to the source code of this file.
Macros | |
#define | FILENAME_MAX 1024 |
#define | P_tmpdir "/usr/tmp/" |
Functions | |
char * | __stdio_gen_tempname (const char *dir, const char *pfx, int dir_search, size_t *lenptr, FILE **streamptr) |
static int | diraccess (const char *dir) |
static int | exists (const char *file) |
Variables | |
static const char | letters [] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" |
#define FILENAME_MAX 1024 |
Definition at line 42 of file tempname.c.
Referenced by __stdio_gen_tempname().
#define P_tmpdir "/usr/tmp/" |
Definition at line 47 of file tempname.c.
Referenced by __stdio_gen_tempname(), and get_P_tmpdir().
char* __stdio_gen_tempname | ( | const char * | dir, |
const char * | pfx, | ||
int | dir_search, | ||
size_t * | lenptr, | ||
FILE ** | streamptr | ||
) |
Definition at line 100 of file tempname.c.
References d, diraccess(), exists(), FILENAME_MAX, letters, and P_tmpdir.
Referenced by tempnam().
Definition at line 60 of file tempname.c.
References stat().
Referenced by __stdio_gen_tempname(), DEFUN_DLD(), files_dock_widget::display_directory(), resource_manager::do_is_first_run(), resource_manager::do_reload_settings(), and resource_manager::do_set_settings().
|
static |
Definition at line 82 of file tempname.c.
Referenced by __stdio_gen_tempname().