Files
Odin/core/os
William Roe 54a326f046 [os] Darwin,FreeBSD,OpenBSD: Rename os.getenv to os.get_env
Make os.get_env consistent across Unixes

This matches the function name and API from env_windows.odin and os_linux.odin, which should be the same everywhere. Meaning:

* named get_env and not getenv
* return a string (empty if the environment variable is not found)
* accept a default value parameter for the allocator (defaulting to context.allocator)
* calls lookup_env which returns an extra found boolean value

This is so that you don't have to write platform/OS conditionals when getting environment variable values from the stdlib os.get_env/getenv function.
2022-05-23 13:48:55 +01:00
..
2021-09-13 12:34:36 +01:00
2022-03-13 11:42:42 +00:00
2022-02-25 08:49:25 +00:00
2021-02-26 14:46:38 +00:00
2022-05-18 07:12:30 +00:00
2022-05-05 15:30:07 +01:00
2022-03-29 16:13:17 +02:00