From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stanislav Ievlev Newsgroups: gmane.lisp.guile.devel Subject: Re: guile-1.8 question Date: Wed, 14 Oct 2009 11:05:03 +0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1255503955 12978 80.91.229.12 (14 Oct 2009 07:05:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Oct 2009 07:05:55 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Oct 14 09:05:45 2009 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MxxvX-0003fr-Jh for guile-devel@m.gmane.org; Wed, 14 Oct 2009 09:05:39 +0200 Original-Received: from localhost ([127.0.0.1]:60289 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxxvX-00020O-7K for guile-devel@m.gmane.org; Wed, 14 Oct 2009 03:05:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mxxv4-0001gU-OM for guile-devel@gnu.org; Wed, 14 Oct 2009 03:05:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mxxuz-0001be-RN for guile-devel@gnu.org; Wed, 14 Oct 2009 03:05:09 -0400 Original-Received: from [199.232.76.173] (port=34027 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mxxuz-0001bK-9R for guile-devel@gnu.org; Wed, 14 Oct 2009 03:05:05 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:4553) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mxxuy-0006La-Ou for guile-devel@gnu.org; Wed, 14 Oct 2009 03:05:04 -0400 Original-Received: from mail-fx0-f205.google.com ([209.85.220.205]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mxxuy-0007oh-3j for guile-devel@gnu.org; Wed, 14 Oct 2009 03:05:04 -0400 Original-Received: by fxm1 with SMTP id 1so9294986fxm.31 for ; Wed, 14 Oct 2009 00:05:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=+Xn/zRRjILsdSGOrccJGJobWvGQL4Po6pYIWh/24Ybs=; b=xgXjfbQHvv+t9MBVGsJfNVJDGAZnVNPtUCfzYhDAVqz9RsTafYwgcKMaiHgNjr8tjt drjpqiWSy9FMW3oxzbM2s+vlLIXofPd1WTJ1Lt7E71DzqFnaqPtUdkI7Ic401mR+nAhH U5WB0J1pdS5gw+tDWpF+JDNnVdPcTtF54hlo0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=KoyGP92Xc3ynV0MSNZeMMpIBkIw1VFvTfvagZA4pXi9lYNpibCm6anzB4sMzjhTSCz X11hzZyEJGA891L5xDIe+VoxwjLskRUn1gsm/Mnk7MlDZXdygd2t3jRuPUmK72NRtuJf 2BslVO6XYGG2BwZdCMLqz4sISPFOj0uB4dbyw= Original-Received: by 10.204.148.88 with SMTP id o24mr5601196bkv.182.1255503903112; Wed, 14 Oct 2009 00:05:03 -0700 (PDT) In-Reply-To: X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:9485 Archived-At: As I understand you should mark scm_fdes_to_port as a deprecated and don't use it in own code (e.g. in socket.c). 2009/10/14 Stanislav Ievlev : > Greetings! > > There are several functions exists to convert file descriptor into guile port: > * scm_fdes_to_ports - search for fdes in already opened ports > * scm_fdes_to_port - looks like internal function, not documented, but > exists in header files. > * scm_fdopen - looks like public function. > > What is the difference between scm_fdes_to_port and scm_fdopen? What > function should I use? > > Have you any plans to made this API simpler? > > -- > With best regards > Stanislav Ievlev. >