1.1 --- a/templates/native/system.c Thu Nov 04 23:44:29 2021 +0100
1.2 +++ b/templates/native/system.c Tue Aug 29 01:46:23 2023 +0200
1.3 @@ -1,6 +1,6 @@
1.4 /* Native functions for system operations.
1.5
1.6 -Copyright (C) 2016, 2017, 2021 Paul Boddie <paul@boddie.org.uk>
1.7 +Copyright (C) 2016, 2017, 2021, 2023 Paul Boddie <paul@boddie.org.uk>
1.8
1.9 This program is free software; you can redistribute it and/or modify it under
1.10 the terms of the GNU General Public License as published by the Free Software
1.11 @@ -27,19 +27,19 @@
1.12
1.13 /* Environment support. */
1.14
1.15 -__attr __fn_native_system_exit(__attr __self, __attr status)
1.16 +__attr __fn_native_system_exit(__attr __result, __attr __self, __attr status)
1.17 {
1.18 exit(__TOINT(status));
1.19 return __builtins___none_None;
1.20 }
1.21
1.22 -__attr __fn_native_system_get_argv(__attr __self)
1.23 +__attr __fn_native_system_get_argv(__attr __result, __attr __self)
1.24 {
1.25 /* NOTE: To be written. */
1.26 return __builtins___none_None;
1.27 }
1.28
1.29 -__attr __fn_native_system_get_path(__attr __self)
1.30 +__attr __fn_native_system_get_path(__attr __result, __attr __self)
1.31 {
1.32 /* NOTE: To be written. */
1.33 return __builtins___none_None;