From 868abdea9811937039a1df84b15ad17f9b9c7a27 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 1 Jan 2016 17:55:37 +0100 Subject: extension: free will perserve errno MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- include/slibc-alloc.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/slibc-alloc.h') 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. -- cgit v1.2.3-70-g09d2