summaryrefslogtreecommitdiff
path: root/src/include/pwd.h
blob: 6ad4faf0e7ccf7769453322b5b32421775a5e68a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ISC license. */

/*
  This file is part of the nsss package.
  See https://skarnet.org/software/nsss/
*/

#ifndef PWD_H
#define PWD_H

#include <nsss/pwd.h>

#ifdef _GNU_SOURCE
#include <stdio.h>
extern struct passwd *fgetpwent (FILE *) ;
extern int fgetpwent_r (FILE *, struct passwd *, char *, size_t, struct passwd **) ;
extern int putpwent (struct passwd const *, FILE *) ;
#endif

#endif