summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/tlecarrour/porting_guide_for_dummies.mdwn2
1 files changed, 1 insertions, 1 deletions
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.