From b54ee86c78b94a1a6e042cf4d448ebd627c801ba Mon Sep 17 00:00:00 2001 From: tomoron Date: Fri, 21 Mar 2025 16:32:27 +0100 Subject: [PATCH] fix typo in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index eb9ce03..98a4c71 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,9 @@ to compile the project, go at the root of the repository and do the command `mak ## usage you can have two usage of the lib. you can either override the normal malloc function in a already compiled program or you can compile your program with the lib , giving you acess to other functions like `show_alloc_mem` or `show_alloc_mem_ex`. in the examples `` represent the folder containing the compilation results -to override the functions in an already compile program you need to do this command : +to override the functions in an already compiled program you need to do this command. every command executed after this will use my malloc function: ``` - export LD_LIBRARY_PATH=. LD_PRELOAD=libft_malloc.so +export LD_LIBRARY_PATH=. LD_PRELOAD=libft_malloc.so ``` to compile a program with the lib, you have to add these parameters at the end of your compilation command (for gcc or clang):