mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
"os.name" returns either "Omega" (only if OMEGA_VERSION is defined) or "Epsilon" "os.getlogin()" returns the calculator owner username "os.uname()" returns an object which has now the "username" attribute
8 lines
208 B
C
8 lines
208 B
C
#include <py/obj.h>
|
|
|
|
mp_obj_t modos_uname();
|
|
mp_obj_t modos_getlogin();
|
|
mp_obj_t modos_remove(mp_obj_t o_file_name);
|
|
mp_obj_t modos_rename(mp_obj_t o_old_name, mp_obj_t o_new_name);
|
|
mp_obj_t modos_listdir();
|