From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net Date: Mon, 9 Jan 2012 09:47:57 +0000 From: faif Message-ID: <19066037.1659.1326018719041.JavaMail.geo-discussion-forums@vbdz6> Content-Type: text/plain; charset=ISO-8859-1 Subject: [9fans] C library function that reads up to a newline Topicbox-Message-UUID: 566f73a0-ead7-11e9-9d60-3106f5b1d025 read(2) reads up to N bytes but doesn't stop on newlines. Brdline(2) looks like a good candidate for that. Are there any functions outside Bio that behave similarly?