This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Configurations. */ | |
#define WITH_VFORK | |
// #define TRY_FORK | |
#define TRY_SPAWN | |
#define WAIT_PID | |
#define RUNS 1000 | |
/* Code. */ | |
#ifdef WITH_VFORK | |
#define _GNU_SOURCE 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# SPDX-License-Identifier: WTFPL | |
# Actually detecting musl libc. | |
# How it works | |
# ------------- | |
# | |
# WARNING - This is a hack and the concept will likely change in future. |