Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:25
erlang
0430-Update-ei_users_guide.xml.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0430-Update-ei_users_guide.xml.patch of Package erlang
From e7acdee612cec056788d58ed9e3b42ceecff1edf Mon Sep 17 00:00:00 2001 From: Felix Penzlin <felix.penzlin@hilti.com> Date: Tue, 16 May 2023 19:06:41 +0200 Subject: [PATCH] Update ei_users_guide.xml pass buffer containing the term in binary format to ei_reg_send in docs example --- lib/erl_interface/doc/src/ei_users_guide.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/erl_interface/doc/src/ei_users_guide.xml b/lib/erl_interface/doc/src/ei_users_guide.xml index 0227994571..78f1967f21 100644 --- a/lib/erl_interface/doc/src/ei_users_guide.xml +++ b/lib/erl_interface/doc/src/ei_users_guide.xml @@ -347,7 +347,7 @@ ei_x_encode_tuple_header(&buf, 2); ei_x_encode_pid(&buf, ei_self(ec)); ei_x_encode_atom(&buf, "Hello world"); -ei_reg_send(&ec,fd,"my_server",buf,buf.index);]]></code> +ei_reg_send(&ec, fd, "my_server", buf.buff, buf.index);]]></code> <p>The first element of the tuple that is sent is your own pid. This enables <c>my_server</c> to reply. -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor