make/test_mkstemp.c

Wed, 24 Dec 2025 12:13:59 +0100

author
Mike Becker <universe@uap-core.de>
date
Wed, 24 Dec 2025 12:13:59 +0100
changeset 1665
b79405fbf91d
parent 1661
a389bf17eaaa
permissions
-rw-r--r--

enable inline optimizations when creating hash keys from literals

#include <stdlib.h>

static void test_mkstemp() {
    char tpl[] = "/tmp/testXXXXXX";
    int fd = mkstemp(tpl);
    // never called, no need to close fd
}

int main() {
    return 0;
}

mercurial