From 9298482871dec324fb757bce52f15474f4525ebe Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Fri, 23 Feb 2018 15:15:43 +0100 Subject: erts: Clarify enif_self docs --- erts/doc/src/erl_nif.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/erts/doc/src/erl_nif.xml b/erts/doc/src/erl_nif.xml index ef3cdb89e9..b9c2e70b57 100644 --- a/erts/doc/src/erl_nif.xml +++ b/erts/doc/src/erl_nif.xml @@ -3044,9 +3044,10 @@ if (retval & ERL_NIF_SELECT_STOP_CALLED) { Get the pid of the calling process. -

Initializes the pid variable *pid to represent the - calling process.

-

Returns pid.

+

Initializes the ErlNifPid + variable at *pid to represent the calling process.

+

Returns pid if successful, or NULL if caller_env is not + a process-bound environment.

-- cgit v1.2.3