*BSD News Article 6177


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!hp9000.csc.cuhk.hk!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!swrinde!gatech!concert!seq!faldor
From: faldor@seq.uncwil.edu (Sherman Brown)
Subject: K&R fgets function, not working
Message-ID: <1992Oct9.021957.13616@seq.uncwil.edu>
Organization: Univ. of North Carolina @ Wilmington
Date: Fri, 9 Oct 1992 02:19:57 GMT
Lines: 15

	I just tried to use K&R's fgets function straight from the 
bible itself and it gave me a unary operator error on the usage
of (*cs++ = c) is this a known error and is there a way around it?
Any help would be greatly appreciated.

Thanx,
Faldor

..___________________________________________________________________.
|               University of North Carolina at Wilmington          |
|                          Faldor Inglorion                         |
|                        faldor@seq.uncwil.edu                      |
|-------------------------------------------------------------------|
|  Alien Invasion Division : Integration/Substitution Group. (ISG)  |
..___________________________________________________________________.