Changeset c196671 in mainline for uspace/lib/posix/unistd.h


Ignore:
Timestamp:
2012-05-18T11:31:26Z (12 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a54bd98, df3f85f
Parents:
3e67ab1 (diff), 68f57e1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge MSIM simulator port (#401)

Merged from lp:~vojtech-horky/helenos/msim.

Not all features work, but it is possible to boot HelenOS running in
MSIM that runs in HelenOS in Qemu
(i.e. host → Qemu → HelenOS → MSIM → HelenOS).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/unistd.h

    r3e67ab1 rc196671  
    4343#define _exit exit
    4444
    45 /* Option Arguments */
    46 extern char *optarg;
     45extern char *posix_optarg;
    4746extern int optind, opterr, optopt;
    48 extern int getopt(int, char * const [], const char *);
     47extern int posix_getopt(int, char * const [], const char *);
    4948
    5049/* Environment */
     
    144143
    145144#ifndef LIBPOSIX_INTERNAL
     145        #define getopt posix_getopt
     146        #define optarg posix_optarg
     147
    146148        #define environ posix_environ
    147149
Note: See TracChangeset for help on using the changeset viewer.