diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2021-11-30 12:54:03 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2021-11-30 12:55:14 +0100 |
commit | 3edea7cd55d178164a649d9eea252c807ed2c038 (patch) | |
tree | 6225e46f8ea9b61950545c613e07c1983146631a /newlib/libc/include/stdio_ext.h | |
parent | 670beaed0216aa59603501e8f14e1f04b138bc47 (diff) | |
download | newlib-3edea7cd55d178164a649d9eea252c807ed2c038.zip newlib-3edea7cd55d178164a649d9eea252c807ed2c038.tar.gz newlib-3edea7cd55d178164a649d9eea252c807ed2c038.tar.bz2 |
Cygwin: get/setrlimit: move RLIMIT_AS handling into static functions
To keep getrlimit/setrlimit clean, move the RLIMIT_AS code into
local static functions __set_rlimit_as and __get_rlimit_as.
Also, make adding process to the job the last step, to be able to
close and release the job resources if anything failed. Add matching
comment.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/include/stdio_ext.h')
0 files changed, 0 insertions, 0 deletions