Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-lcc!mordor!styx!ames!ucbcad!ucbvax!uwovax.UWO.CDN!BRENT From: BRENT@uwovax.UWO.CDN (Brent Sterner) Newsgroups: mod.computers.vax Subject: File attributes - binary? Message-ID: <0538146478@uwovax.UWO.CDN> Date: Tue, 20-Jan-87 13:07:58 EST Article-I.D.: uwovax.0538146478 Posted: Tue Jan 20 13:07:58 1987 Date-Received: Wed, 21-Jan-87 02:46:31 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 16 Approved: info-vax@sri-kl.arpa I have a user who wants to write a simple editor. He would like to reject editing of a "binary" file. How does he determine whether or not an existing file is "binary"? Is there any file attribute he can check, and how should he go about doing it? I believ "C" is his language of choice. Thanks as always, Brent. -- Brent Sterner Lord Protector, d i g i t a l Systems Computing & Communications Services Natural Sciences Building The University of Western Ontario London, Ontario, Canada N6A 5B7 Telephone (519)661-2151 x6036 Network ! VAX 8600 ! IBM 4341