Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!pacbell!att!dptg!mtung!luke From: luke@mtung.ATT.COM (s.l.jones) Newsgroups: comp.sources.wanted Subject: need "strtol" source Message-ID: <2817@mtung.ATT.COM> Date: 12 Feb 90 13:22:13 GMT Reply-To: luke@mtung.ATT.COM (s.l.jones) Distribution: usa Organization: AT&T Bell Laboratories Lines: 11 Can anybody give me source for a strtol() routine? The Microsoft C 5.1 library doesn't have one, and the one I use instead doesn't do any error checking. I'd like one that, say, set errno to ERANGE on an under- or overflow. Thanks in advance, -- Luke Jones, luke@mtung.att.com, ...!att!mtung!luke, phone 201/957-2733 Quote: "System Test? That's for idiots!" -me, after "Dirty" H. Calahan AT&T Bell Labs/Computer Notworking Laboratory/Workstation Notworking Dept. Disclaimer: the opinions are mine but I suspect AT&T has rights to them.