From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <62e4d796957107525a33c7806a6ee077@plan9.escet.urjc.es> To: 9fans@cse.psu.edu From: Gorka Guardiola Múzquiz MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] Jean-Paul_Belmondo Date: Fri, 13 Feb 2004 02:19:27 +0100 Topicbox-Message-UUID: e1556304-eacc-11e9-9e20-41e7f4b1d025 Funny code in fsys.c in rio... Normally initialize to actors on error? or is this just an exception?. G. fd = open("/dev/user", OREAD); strcpy(buf, "Jean-Paul_Belmondo"); if(fd >= 0){ n = read(fd, buf, sizeof buf-1); if(n > 0) buf[n] = 0; close(fd); }