home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.c:18632 comp.unix.bsd:10376
- Newsgroups: comp.lang.c,comp.unix.bsd
- Path: sparky!uunet!mcsun!Germany.EU.net!logixwi!jpm
- From: jpm@Logix.DE (Jan-Piet Mens)
- Subject: Re: Segmentation faults
- Organization: Logix GmbH, Wiesbaden, Germany
- Date: Fri, 18 Dec 1992 13:42:25 GMT
- Message-ID: <1992Dec18.134225.20548@Logix.DE>
- References: <1gricmINNsl@ub.d.umn.edu>
- Lines: 19
-
- In <1gricmINNsl@ub.d.umn.edu> cbusch@ub.d.umn.edu (Chris) writes:
- > Why is the following code producing a segmentation fault???
- >I am compiling this code on an Encore Multimax running UMAX 4.3 Unix.
-
- Doesn't matter where you compile it is bad anyway...
-
- void writexy(x,y,s)
- int x, y;
- char *s; /* OTHERWISE DEFAULTS TO int !!! */
- {
- printf("\33[%d;%dH%s",y,x,s);
- }
-
- [ BTW, how about termcap/terminfo ? ]
- --
- __ _____ __ __
- | || _ \ | \/ | Logix GmbH jpm@Logix.DE
- __| || ___/ | | Moritzstrasse 50, +49-611-309797 jpm@logixwi.UUCP
- |_____||__| |__||__| D-6200 Wiesbaden ...!uunet!mcsun!unido!logixwi!jpm
-