From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 4 18:11:05 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E58A16A41C for ; Sat, 4 Jun 2005 18:11:05 +0000 (GMT) (envelope-from fbsd.hackers@gmail.com) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF7E543D1F for ; Sat, 4 Jun 2005 18:11:02 +0000 (GMT) (envelope-from fbsd.hackers@gmail.com) Received: by rproxy.gmail.com with SMTP id i8so1323410rne for ; Sat, 04 Jun 2005 11:11:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=SzyT/z6SFl0oo499LLKHyebLKzKiyhCRoLQmLXhbTW8ThFqOCYtknBhH+AT/GQMelVXqLklm0zaL3847wMu7PfVKljc7y6PQCxRVKULmAUmzt+hqrFAbChhAuVwU0kllNjZHcSOvs9ZWogdsIW4SCT3TuDhtvNNdhxrIvlCbf5M= Received: by 10.38.186.20 with SMTP id j20mr1571764rnf; Sat, 04 Jun 2005 11:11:01 -0700 (PDT) Received: by 10.38.11.11 with HTTP; Sat, 4 Jun 2005 11:11:01 -0700 (PDT) Message-ID: Date: Sat, 4 Jun 2005 14:11:01 -0400 From: Pablo Mora To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: help me with C languaje please, re: files. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pablo Mora List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jun 2005 18:11:05 -0000 Hi all,=20 I am programming in C and I need to read a quantity of lines of a file. How can I know when a line arrives at his end? exists some special character? exists some file in C in the kernel of FreeBSD (4.11) where I can find somewhat similar? example: how read four lines of a file.=20 thanks and sorry for my badly English. --=20 Concepci=F3n, Chile.