RTEMS and unix directory

Joel Sherrill joel.sherrill@oarcorp.com
Mon Nov 17 22:06:00 GMT 2008


Hi,

After examining how RTEMS could use the posix
subdirectory, I moved onto the unix subdirectory.
I am pretty sure can use the following with no work:

+ basename.c
+ dirname.c
+ getcwd.c
+ pread.c
+ pwrite.c

We could use the password and group access
routines IF we can all figure out a way to
let the rtems configuration call our
routine that provides a dummy /etc/passwd
and /etc/group if there was not one in the
filesystem.  This could be a weak symbol
or ifdef'ed on RTEMS.

Our ttyname.c appears to have originated with
the one in this directory but has been slightly
modified to have ttyname_r.  So our version
could go in here and be used.  I have attached
it for review.

Is the configure/build infrastructure able to
turn on just the pieces listed above and ttyname.c
if you are OK with our version?

How about the group/password?

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985


-------------- next part --------------
A non-text attachment was scrubbed...
Name: ttyname.c
Type: text/x-csrc
Size: 3412 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20081117/42cff4b0/attachment.bin>


More information about the Newlib mailing list