From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25174 invoked by alias); 16 May 2013 22:23:01 -0000 Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org Received: (qmail 25114 invoked by uid 89); 16 May 2013 22:23:01 -0000 X-Spam-SWARE-Status: No, score=-7.7 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 16 May 2013 22:23:00 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r4GMMwh8018408 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 16 May 2013 18:22:58 -0400 Received: from [10.3.113.76] (ovpn-113-76.phx2.redhat.com [10.3.113.76]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r4GMMvB4003676; Thu, 16 May 2013 18:22:58 -0400 Message-ID: <51955C41.6000605@redhat.com> Date: Thu, 16 May 2013 22:23:00 -0000 From: "Carlos O'Donell" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 MIME-Version: 1.0 To: =?UTF-8?B?0JjQs9C+0YDRjCDQn9Cw0YjQtdCy?= CC: libc-ports@sourceware.org Subject: Re: bufsplit equivalent References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SW-Source: 2013-05/txt/msg00075.txt.bz2 On 05/16/2013 06:04 PM, Игорь Пашев wrote: > Hi, all! > > Is there an equivalent of bufsplit() function in glibc? > > bufsplit– split buffer into fields: > http://docs.oracle.com/cd/E19683-01/817-0679/6mgfb870d/index.html Please email libc-help@sourcware.org for questions like this. We don't have anything like bufsplit in glibc. Given that it's not in POSIX or ISO C, and it appears to have very limited appeal, we are unlikely to add it to the library. Cheers, Carlos.