ascii-chat
Binary v0.16.50-198-g78f51665f
Library lib/v0.3.2-2240-g78f51665f
Video chat in your terminal
Loading...
Searching...
No Matches
src/web/platform/stubs/network.c
Go to the documentation of this file.
1
6
7#include <stdio.h>
9#include <libplatform/socket.h>
10
11int platform_popen(const char *name, const char *command, const char *mode, FILE **out_stream) {
12 (void)name;
13 (void)command;
14 (void)mode;
15 (void)out_stream;
16 return SET_ERRNO(ERROR_NOT_SUPPORTED, "not supported in WASM");
17}
18
19int platform_pclose(FILE **stream_ptr) {
20 (void)stream_ptr;
21 return SET_ERRNO(ERROR_NOT_SUPPORTED, "not supported in WASM");
22}
23
26 return NULL;
27}
30 (void)callbacks;
31}
Synchronized per-thread pending error stacks and value snapshots. SET_ERRNO pushes,...
#define SET_ERRNO(code,...)
@ ERROR_NOT_SUPPORTED
Definition error_codes.h:73
app_callbacks_t * app_callbacks_get(void)
int platform_popen(const char *name, const char *command, const char *mode, FILE **out_stream)
void app_callbacks_register(app_callbacks_reg_t *callbacks)
int platform_pclose(FILE **stream_ptr)