Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!ucbvax!hplabs!hpl-opus!hpspdra!ric From: ric@hpspdra.HP.COM (Ric Peregrino) Newsgroups: comp.sys.amiga.tech Subject: stack setting? Message-ID: <13580002@hpspdra.HP.COM> Date: 2 Jul 90 17:14:25 GMT Organization: HP Stanford Park - Palo Alto, CA Lines: 20 I have ported a wave editor program to the amiga and found that the default stack of 4000 is too small. I tried using a system call in the program to automatically set the stack, but it seems to fail. Anybody know why this is, or how it can be done? #include #include void main(void) { printf("setting stack to 8192\n"); system("stack 8192"); system("stack"); } the second call to stack with no argument returns the current stack size: 4000. Thanks for any help, ric@hpspd