From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artyom Poptsov Newsgroups: gmane.lisp.guile.devel Subject: Re: Reading data from a file descriptor Date: Sat, 07 Nov 2015 18:29:40 +0300 Message-ID: <874mgxx1y3.fsf@elephant.savannah> References: <87a8qpx2kg.fsf@elephant.savannah> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1446910220 24462 80.91.229.3 (7 Nov 2015 15:30:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Nov 2015 15:30:20 +0000 (UTC) Cc: guile-devel@gnu.org To: Jan =?utf-8?B?U3luw6HEjWVr?= Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Nov 07 16:30:13 2015 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zv5RV-0001O6-CP for guile-devel@m.gmane.org; Sat, 07 Nov 2015 16:30:13 +0100 Original-Received: from localhost ([::1]:44308 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zv5RU-00081k-MH for guile-devel@m.gmane.org; Sat, 07 Nov 2015 10:30:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zv5RQ-00081f-Q3 for guile-devel@gnu.org; Sat, 07 Nov 2015 10:30:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zv5RM-0008Tj-R8 for guile-devel@gnu.org; Sat, 07 Nov 2015 10:30:08 -0500 Original-Received: from mail-lf0-x229.google.com ([2a00:1450:4010:c07::229]:33065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zv5RM-0008Td-Ju for guile-devel@gnu.org; Sat, 07 Nov 2015 10:30:04 -0500 Original-Received: by lffz63 with SMTP id z63so15873026lff.0 for ; Sat, 07 Nov 2015 07:30:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=gIb0nO0NnLC3afUSP4QnMuKR7jDQAUrgLG8gYFBDr9c=; b=mzw0mUa0aa+TC9Dr3pvtg3O1su2GLs+Q3C1J1uI/Qd9XEgU8E+t9Al5R8RRHOspFnn Z9Dyz4X3Qy5HBFv7087mu/5cXOOlMau0HtujbSuKzS7PwHcVlRhFCCD0Mpvu3cVejo88 vpgleN43vB2t17V1pqXum8lp13mOoIjeoBT056vbRhDnaexrsUeUWXJWL0aV0/mLNmzK EMVmlfDPE+E03ici2YDvoG0Qe5bcYHvXA7ep8QGSsxCHu5U19YX9LO01w7trrbxqQxYh ZvGmQrTNoZ9Yi/o8FozxLXosVVEWwaBQknnrmPmGrNNaa3L2lONjuKCX5juENnLMFGdu n8sw== X-Received: by 10.25.32.140 with SMTP id g134mr5897565lfg.26.1446910203844; Sat, 07 Nov 2015 07:30:03 -0800 (PST) Original-Received: from elephant.savannah (109-184-186-180.dynamic.mts-nn.ru. [109.184.186.180]) by smtp.gmail.com with ESMTPSA id pd5sm880547lbc.24.2015.11.07.07.30.02 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Nov 2015 07:30:02 -0800 (PST) In-Reply-To: <87a8qpx2kg.fsf@elephant.savannah> (Artyom Poptsov's message of "Sat, 07 Nov 2015 18:16:15 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c07::229 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:18007 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Oh sorry, there was a mistake in my previous mail. 'scm_i_fdes_to_port' is an internal procedure, but 'scm_fdes_to_port' is defined as Guile API and should be available to Guile programs. Here's its definition: =2D-8<---------------cut here---------------start------------->8--- SCM scm_fdes_to_port (int fdes, char *mode, SCM name) =2D-8<---------------cut here---------------end--------------->8--- And the commentary that I quoted really applies to 'scm_fdes_to_port', not to 'scm_i_fdes_to_port'. =2D Artyom =2D-=20 Artyom V. Poptsov ; GPG Key: 0898A02F Home page: http://poptsov-artyom.narod.ru/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCgAGBQJWPhjlAAoJEOnFotkImKAvXlEIALUDheIrdfVFGRtExqjEIbcT nDdAAOrXSJrduQ7VKx+Nhyq66BF4JUKVxKXVQCRSLzCcd2Dd+mXG4MatVxey3Kb6 4v6lnlqmMzGidbTlCtCqii3GtFY37/lNG0cybo55VFBsn5fRgTQbGw8GA2ywZEMM XVQg/PVRq8iulPgVPRiOBqrs/grgOxEVPwka38ZJcsxVYwMeG98ffVhfa+DQ0uIe SwKF/RWI3yVsT39PL4+j/Ah1teReXbXDrLm+6hBr3PotD4o9mFwVd2r0pIB6Hb/j kSoTmL9FF5TfgxmjgSXAvt3K64iFnYOaY76Ow88JcjjvRCyPFkdBMAoM9KkSVQY= =V+AG -----END PGP SIGNATURE----- --=-=-=--