home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!wupost!calvin.sbc.com!gwj
- From: gwj@sbctri.sbc.com (Gregg W. Jensen)
- Subject: ctype question
- Message-ID: <1993Jan5.153619.23514@sbctri.sbc.com>
- Organization: Southwestern Bell Technology Resources, St.Louis, MO
- Date: Tue, 5 Jan 93 15:36:19 GMT
- Lines: 24
-
- This is probably an easy one...
- I was trying to compile something last night that had an unresolved
- external __ctype_. Looking in the file that uses _ctype_ was the code:
-
- (this was near the top of the file)
- #ifndef _ctype_
- #ifdef _ctype
- #define _ctype_ _ctype
- #else
- extern char _ctype_[];
- #endif
- #endif
-
- and the line that actually uses _ctype_:
- if (!((_ctype_+1)[i]&(020|01|02|04|0200)) || col > end_col)
- bell();
-
- Is there something else that should be here? In the include file ctype.h
- there
- is a _ctype_b, is this what I need?
-
- Gregg Jensen
-
- IF MAIL BOUNCES: send replies to gj9362@smaug.sbc.com !!!!
-