Functions omitted, Notes, System databases posix section 9 – Comtrol eCos User Manual

Page 461: Functions implemented, System databases [posix section 9

Advertising
background image

Chapter 31. POSIX Standard Support

int rand_r( unsigned int

seed );

Functions Omitted

void flockfile( FILE

file );

int ftrylockfile( FILE

file );

void funlockfile( FILE

file );

int sigsetjmp( sigjmp_buf env, int savemask );

// TBA

void siglongjmp( sigjmp_buf env, int val );

// TBA

void tzset(void);

// TBA

Notes

setlocale() is implemented in the C library Internationalization package.

Functions fileno() and fdopen() are implemented in the C library STDIO package.

Functions getc_unlocked(), getchar_unlocked(), putc_unlocked() and putchar_unlocked() are defined but are

currently identical to their non-unlocked equivalents.

strtok_r(), asctime_r(), ctime_r(), gmtime_r(), localtime_r() and rand_r() are all currently in the C library,

alongside their non-reentrant versions.

System Databases [POSIX Section 9]

Functions Implemented

<none>

Functions Omitted

struct group

getgrgid( gid_t gid );

int getgrgid( gid_t gid, struct group

grp, char

buffer,

size_t bufsize, struct group

∗∗

result );

struct group

getgrname( const char

name );

int getgrname_r( const char

name, struct group

grp,

char

buffer, size_t bufsize, struct group

∗∗

result );

struct passwd

getpwuid( uid_t uid );

int getpwuid_r( uid_t uid, struct passwd

pwd,

char

buffer, size_t bufsize, struct passwd

∗∗

result );

struct passwd

getpwnam( const char

name );

int getpwnam_r( const char

name, struct passwd

pwd,

char

buffer, size_t bufsize, struct passwd

∗∗

result );

357

Advertising