/*
 * probe_helpers.c — tiny helpers for the FFI probe
 *
 * Exposes errno readout and a strerror bridge so the Reef probe can report
 * the real kernel error when an FFI call fails.
 */

#include <errno.h>
#include <string.h>

int probe_errno(void) {
    return errno;
}

const char *probe_strerror(int err) {
    return strerror(err);
}
