Return to BSD News archive
Received: by minnie.vk1xwt.ampr.org with NNTP id AA5093 ; Mon, 21 Dec 92 17:13:59 EST Xref: sserve comp.lang.c:36996 comp.unix.bsd:9133 Newsgroups: comp.lang.c,comp.unix.bsd Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!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