X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fos.h;h=814b18d72fbbe89db8be5b283415fad47639081d;hb=743831e679b673a5680a0afd8402911516bf50e2;hp=7eb58f19c9855e007520d477e0e51b4d31bdc2a5;hpb=854a7c8f6987e05b6aebe186f30b7e125693afaf;p=sbcl.git diff --git a/src/runtime/os.h b/src/runtime/os.h index 7eb58f1..814b18d 100644 --- a/src/runtime/os.h +++ b/src/runtime/os.h @@ -173,8 +173,10 @@ extern void os_deallocate(os_vm_address_t addr, os_vm_size_t len); int os_get_errno(void); /* Return an absolute path to the runtime executable, or NULL if this - * information is unavailable. If a non-null pathname is returned, it - * must be 'free'd. */ -extern char *os_get_runtime_executable_path(); + * information is unavailable. Unless external_path is non-zero the + * returned path may only be valid for the current process, ie: + * something like /proc/curproc/file. If a non-null pathname is + * returned, it must be 'free'd. */ +extern char *os_get_runtime_executable_path(int external_path); #endif