Add functions to work with System.env #214
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Please describe if your feature request is related to a problem.
When writing an application, it became necessary to use environment variables. The necessary functions are missing from the files used for the TCC compiler.
Describe the solution you would like
Functions in libc.obj includes for work with System.env
For example:
Describe alternatives you've considered
Additional context
This is necessary to load the configuration of the "Table" program
I understand and agree that KolibriOS is missing proper support for environment variables. That said, why can't Table load its configuration? Many programs in KolibriOS read their config files at the moment. What is the exact issue with Table?
Данное приложение имеет 3 варианта загрузки конфигурации: явное указание файла конфига, неявное через переменные окружения и загрузка стандартного файла со статическим адресом. Неявное указание конфигурации не может быть выполнено, так как нет необходимых функций по работе с переменными окружения.
Описание возможных вариантов загрузки https://git.kolibrios.org/Doczom/Table/src/branch/main/TABLE.INI#L30
Программа Table приведена как пример программы, где наличие такого API необходимо для реализации функционала
Auto translate: