From 3764e02607c7ac391c3a789cd4a5e0662f1ecaa0 Mon Sep 17 00:00:00 2001 From: Syrus Date: Fri, 21 Dec 2018 22:37:39 -0800 Subject: [PATCH] Added emscriptent environment docs --- src/apis/emscripten/README.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/src/apis/emscripten/README.md b/src/apis/emscripten/README.md index e5858b17f..b88f1fc03 100644 --- a/src/apis/emscripten/README.md +++ b/src/apis/emscripten/README.md @@ -26,9 +26,21 @@ ###### ENVIRONMENT -- **\_getenv**     [:top:](#host-apis) +- **\_getenv** ✅     [:top:](#host-apis) ```rust - + fn _getenv(name: c_int, instance: &mut Instance) + ``` +- **\_putenv** ✅     [:top:](#host-apis) + ```rust + fn _putenv(name: c_int, instance: &mut Instance) + ``` +- **\_setenv** ✅     [:top:](#host-apis) + ```rust + fn _setenv(name: c_int, value: c_int, overwrite: c_int, instance: &mut Instance + ``` +- **\_unsetenv** ✅     [:top:](#host-apis) + ```rust + fn _unsetenv(name: c_int, instance: &mut Instance) ``` ###### THREAD @@ -44,10 +56,6 @@ - **\_pthread_setspecific**     [:top:](#host-apis) ```rust - ``` -- **\_unsetenv**     [:top:](#host-apis) - ```rust - ``` - **\_\_\_lock**     [:top:](#host-apis) ```rust