RTEMS
5.1
cpukit
libcsupport
src
pwdgrp.h
1
/*
2
* Copyright (c) 2014 embedded brains GmbH. All rights reserved.
3
*
4
* embedded brains GmbH
5
* Dornierstr. 4
6
* 82178 Puchheim
7
* Germany
8
* <rtems@embedded-brains.de>
9
*
10
* The license and distribution terms for this file may be
11
* found in the file LICENSE in this distribution or at
12
* http://www.rtems.org/license/LICENSE.
13
*/
14
15
#ifndef _RTEMS_LIBCSUPPORT_PWDGRP_H
16
#define _RTEMS_LIBCSUPPORT_PWDGRP_H
17
18
#include <grp.h>
19
#include <pwd.h>
20
#include <stdio.h>
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
/* __cplusplus */
25
26
void
_libcsupport_pwdgrp_init(
void
);
27
28
int
_libcsupport_scanpw(
29
FILE *
fp
,
30
struct
passwd *pwd,
31
char
*buffer,
32
size_t
bufsize
33
);
34
35
int
_libcsupport_scangr
(
36
FILE *
fp
,
37
struct
group *grp,
38
char
*buffer,
39
size_t
bufsize
40
);
41
42
#ifdef __cplusplus
43
}
44
#endif
/* __cplusplus */
45
46
#endif
/* _RTEMS_LIBCSUPPORT_PWDGRP_H */
fp
#define fp
frame-pointer */
Definition:
regs.h:65
_libcsupport_scangr
int _libcsupport_scangr(FILE *fp, struct group *grp, char *buffer, size_t bufsize)
Definition:
pwdgrp.c:248
Generated by
1.8.15