fopen fails

Joel Sherrill joel.sherrill at OARcorp.com
Thu May 6 13:20:53 UTC 2004


Steve Holle (by way of Steve Strobel ) wrote:
> I'm attempting to use some of the example code utilizing "fopen" and fopen is failing.  I've traced through the source and I seem to be failing at "rtems_filesystem_evaluate_path."
> 
> pathname = "test"
> evalflags = 2
> loc = 
>         node_access = 0x2c5508
>         handlers = 0x3951c
>         ops = 0x390e4
>         mt_entry = 0x2c5570
> TRUE
> 
> I'm probably missing a very basic step.  Any hints?

The default number of file descriptors is 3 for stdin, out,
and error.  Use CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS
to specify more than that.

> --------------------------
> Steve Holle
> Link Communications, Inc.
> 1035 Cerise Road
> Billings, Montana  59101-7378
> 406.245.5002
> sholle at link-comm.com
> --------------------------
> 





More information about the users mailing list