Changeset 4e58d80 in rtems


Ignore:
Timestamp:
Aug 11, 1995, 2:31:29 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
4cc631db
Parents:
c1403ef1
Message:

Added functions to access the errno of the native system when using the
newlib C library.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libcsupport/include/rtems/libcsupport.h

    rc1403ef1 r4e58d80  
    2222#endif
    2323
    24 #ifdef __cplusplus
    25 extern "C" {
    26 #endif
    27 
    2824#include <sys/types.h>
    2925
     
    4036#endif
    4137
    42 #ifdef __cplusplus
    43 }
    44 #endif
     38extern int  host_errno(void);
     39extern void fix_syscall_errno(void);
    4540
    4641#endif
  • c/src/lib/include/rtems/libcsupport.h

    rc1403ef1 r4e58d80  
    2222#endif
    2323
    24 #ifdef __cplusplus
    25 extern "C" {
    26 #endif
    27 
    2824#include <sys/types.h>
    2925
     
    4036#endif
    4137
    42 #ifdef __cplusplus
    43 }
    44 #endif
     38extern int  host_errno(void);
     39extern void fix_syscall_errno(void);
    4540
    4641#endif
  • c/src/lib/libc/libcsupport.h

    rc1403ef1 r4e58d80  
    2222#endif
    2323
    24 #ifdef __cplusplus
    25 extern "C" {
    26 #endif
    27 
    2824#include <sys/types.h>
    2925
     
    4036#endif
    4137
    42 #ifdef __cplusplus
    43 }
    44 #endif
     38extern int  host_errno(void);
     39extern void fix_syscall_errno(void);
    4540
    4641#endif
  • cpukit/libcsupport/include/rtems/libcsupport.h

    rc1403ef1 r4e58d80  
    2222#endif
    2323
    24 #ifdef __cplusplus
    25 extern "C" {
    26 #endif
    27 
    2824#include <sys/types.h>
    2925
     
    4036#endif
    4137
    42 #ifdef __cplusplus
    43 }
    44 #endif
     38extern int  host_errno(void);
     39extern void fix_syscall_errno(void);
    4540
    4641#endif
Note: See TracChangeset for help on using the changeset viewer.