musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/stdio/tempnam.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/tempnam.c')
-rw-r--r--src/stdio/tempnam.c 3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/stdio/tempnam.c b/src/stdio/tempnam.c
index 5a559752..84f91978 100644
--- a/src/stdio/tempnam.c
+++ b/src/stdio/tempnam.c
@@ -4,12 +4,11 @@
#include <sys/stat.h>
#include <limits.h>
#include <string.h>
+#include <stdlib.h>
#include "syscall.h"
#define MAXTRIES 100
-char *__randname(char *);
-
char *tempnam(const char *dir, const char *pfx)
{
char s[PATH_MAX];
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月13日 00:06:26 +0000

AltStyle によって変換されたページ (->オリジナル) /