RTEMS  5.0.0
Functions
pwdgrp.c File Reference

User Database Access Routines. More...

#include <sys/stat.h>
#include <pwd.h>
#include <grp.h>
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <ctype.h>
#include <pthread.h>
#include <stdint.h>
#include <rtems/seterr.h>
#include "pwdgrp.h"

Functions

void _libcsupport_pwdgrp_init (void)
 
int _libcsupport_scanpw (FILE *fp, struct passwd *pwd, char *buffer, size_t bufsize)
 
int getpwnam_r (const char *name, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result)
 
int getpwuid_r (uid_t uid, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result)
 
int _libcsupport_scangr (FILE *fp, struct group *grp, char *buffer, size_t bufsize)
 
int getgrnam_r (const char *name, struct group *grp, char *buffer, size_t bufsize, struct group **result)
 
int getgrgid_r (gid_t gid, struct group *grp, char *buffer, size_t bufsize, struct group **result)
 

Detailed Description

User Database Access Routines.

Function Documentation

◆ _libcsupport_scangr()

int _libcsupport_scangr ( FILE *  fp,
struct group *  grp,
char *  buffer,
size_t  bufsize 
)

Extract a single group record from the database