From 70e826e09b736dd1549cf670e03e53c858285d6f Mon Sep 17 00:00:00 2001 From: Tanguy LE CARROUR Date: Tue, 7 Feb 2012 14:16:10 +0100 Subject: Modify a title. --- user/tlecarrour/porting_guide_for_dummies.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user') diff --git a/user/tlecarrour/porting_guide_for_dummies.mdwn b/user/tlecarrour/porting_guide_for_dummies.mdwn index 176db195..64f0ba0d 100644 --- a/user/tlecarrour/porting_guide_for_dummies.mdwn +++ b/user/tlecarrour/porting_guide_for_dummies.mdwn @@ -202,7 +202,7 @@ Call readlink(), check return value and set the null char in the linkname: linkname[sb.st_size] = '\0'; -### Alternative use of readlink() +### Alternative use of readlink(): readlink_malloc() In some cases the above approch doesn't work.for instance when reading from **/proc/*/exe** on Linux. In this case you can try the following function. -- cgit v1.2.3