hyperlight-libc 0.16.0

This crate provides picolibc for Hyperlight guests. It builds the picolibc library and generates bindings to the libc types and functions.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
/* BSD strsep function */

/* Copyright 2002, Red Hat Inc. */

#define _DEFAULT_SOURCE
#include <string.h>
#include "strtok_r.h"

char *
strsep(register char **source_ptr, register const char *delim)
{
    return __strtok_r(*source_ptr, delim, source_ptr, 0);
}