make/test_mkstemp.c

Sun, 28 Dec 2025 15:45:39 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 28 Dec 2025 15:45:39 +0100
changeset 1674
8b0f162ac88e
parent 1661
a389bf17eaaa
permissions
-rw-r--r--

full generic support for cx_strsubs() and cx_strsubsl()

relates to #792

#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