English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
이는 프로세스 id를 목록으로 변환합니다.
Pid_to_list(processid)
processid −이는 목록으로 변환해야 할 필요 있는 프로세스 id입니다.
프로세스 id에서 목록을 반환합니다.
-module(helloworld). -export([start/0, call/2]). call(Arg1, Arg2) -> io:format("~p ~p~n", [Arg1, Arg2]). start() -> Pid = spawn(?MODULE, call, ["hello", "process"]), io:fwrite("~p~n",[pid_to_list(Pid)]).
위의 프로그램을 실행할 때, 다음과 같은 결과를 얻을 것입니다.
"<0.55.0>" "hello" "process"