From owner-freebsd-hackers Tue Dec 17 05:54:58 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id FAA24566 for hackers-outgoing; Tue, 17 Dec 1996 05:54:58 -0800 (PST) Received: from terra.Sarnoff.COM (terra.sarnoff.com [130.33.11.203]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id FAA24552 for ; Tue, 17 Dec 1996 05:54:54 -0800 (PST) Received: (from rminnich@localhost) by terra.Sarnoff.COM (8.6.12/8.6.12) id IAA07141; Tue, 17 Dec 1996 08:53:47 -0500 Date: Tue, 17 Dec 1996 08:53:46 -0500 (EST) From: "Ron G. Minnich" X-Sender: rminnich@terra To: "Marc G. Fournier" cc: hackers@freebsd.org Subject: Re: Almost have mmap() figured, I think... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > The problem comes up when I try and print out the frame itself, >using 'printf("%s\n", frame[ii]);'...the value printed out each time >is exactly the same: actually everything is right but your printf. This will print the pointer. to get data, e.g. the first word, ... unsigned long something; something = * (unsigned long *) frame[ii]; and so on. ron Ron Minnich |"Failure is not an option" -- Gene Kranz rminnich@sarnoff.com | -- except, of course, on Microsoft products (609)-734-3120 | ftp://ftp.sarnoff.com/pub/mnfs/www/docs/cluster.html