lotus

previous page: 14.2: Whenever I try to launch the Finder from GNO, I am told that the Finder needs more memory. I know there is enough memory available. What's the deal?
  
page up: comp.sys.apple2. gno FAQ
  
next page: 14.4: What are the known bugs?

14.3: My program is crashing when calling open(2). Why?




Description

This article is from the Apple II GNO FAQ, by Devin Reade with numerous contributions by others.

14.3: My program is crashing when calling open(2). Why?

    A#14.3:	It may be due to a prototype/library mismatch.  The GNO implementation
of open(2) is a variadic function.  The third "mode" parameter must
be provided if and only if the second "oflag" parameter has the
O_CREAT flag set.

If calls to open result in a crash or stack error, you may have
either the wrong definition of open in <fcntl.h>, or you are not
getting open from 13/libc.  See also Q#9.2, Q#11.2, Q#11.3, and Q#6.6.
    

 

Continue to:













TOP
previous page: 14.2: Whenever I try to launch the Finder from GNO, I am told that the Finder needs more memory. I know there is enough memory available. What's the deal?
  
page up: comp.sys.apple2. gno FAQ
  
next page: 14.4: What are the known bugs?