Files
Odin/core
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
..
2022-05-14 12:27:21 +01:00
2022-02-25 08:49:25 +00:00
2022-05-23 11:48:05 +01:00
2022-05-14 15:32:28 +01:00
2022-05-05 15:30:07 +01:00
2022-05-15 23:46:32 +01:00
2022-01-07 06:12:00 +01:00
2022-05-14 13:34:52 +02:00
2022-04-27 14:37:15 +02:00