diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2016-01-01 17:55:37 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2016-01-01 17:55:37 +0100 |
commit | 868abdea9811937039a1df84b15ad17f9b9c7a27 (patch) | |
tree | a7b98560d5eb155724663c4345283afbd68faa79 /include/slibc-alloc.h | |
parent | m (diff) | |
download | slibc-868abdea9811937039a1df84b15ad17f9b9c7a27.tar.gz slibc-868abdea9811937039a1df84b15ad17f9b9c7a27.tar.bz2 slibc-868abdea9811937039a1df84b15ad17f9b9c7a27.tar.xz |
extension: free will perserve errno
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r-- | include/slibc-alloc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/slibc-alloc.h b/include/slibc-alloc.h index 928218d..7da40f9 100644 --- a/include/slibc-alloc.h +++ b/include/slibc-alloc.h @@ -128,6 +128,8 @@ enum falloc_mode * This function is identical to `free`, except it is guaranteed not to * override the memory segment with zeroes before freeing the allocation. * + * `errno` is guaranteed not to be set. + * * @etymology (Fast) variant of (`free`). * * @param segment The memory segment to free. @@ -140,6 +142,8 @@ void fast_free(void*); * This function is identical to `free`, except it is guaranteed to * override the memory segment with zeroes before freeing the allocation. * + * `errno` is guaranteed not to be set. + * * @etymology (Secure) variant of (`free`). * * @param segment The memory segment to free. |