/usr/include/funtools/mkrtemp.h is in libfuntools-dev 1.4.7-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | /*
* Copyright (c) 1999-2003 Smithsonian Astrophysical Observatory
*/
/*
*
* mkrtemp.h -- declarations for mkrtemp, a fancy version of mkstemp
*
*/
#ifndef __mkrtemp_h
#define __mkrtemp_h
#if HAVE_CONFIG_H
#include "conf.h"
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <fcntl.h>
#include <errno.h>
#include <stdio.h>
#include <ctype.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#include "prsetup.h"
#include "word.h"
#include "xalloc.h"
#ifdef __APPLE__
#define lrand48 random
#define srand48 srandom
#endif
#if HAVE_MINGW32
#define lrand48 rand
#define srand48 srand
#define lstat stat
#endif
_PRbeg
int mkrtemp _PRx((char *prefix, char *suffix, char *path, int len,
int doopen));
_PRend
#endif
|