This repository was archived by the owner on Oct 12, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -262,6 +262,7 @@ COPY=\
262
262
$(IMPDIR)\core\sys\openbsd\err.d \
263
263
$(IMPDIR)\core\sys\openbsd\execinfo.d \
264
264
$(IMPDIR)\core\sys\openbsd\pthread_np.d \
265
+ $(IMPDIR)\core\sys\openbsd\pwd.d \
265
266
$(IMPDIR)\core\sys\openbsd\stdlib.d \
266
267
$(IMPDIR)\core\sys\openbsd\string.d \
267
268
$(IMPDIR)\core\sys\openbsd\time.d \
Original file line number Diff line number Diff line change @@ -262,6 +262,7 @@ SRCS=\
262
262
src\core\sys\openbsd\err.d \
263
263
src\core\sys\openbsd\execinfo.d \
264
264
src\core\sys\openbsd\pthread_np.d \
265
+ src\core\sys\openbsd\pwd.d \
265
266
src\core\sys\openbsd\stdlib.d \
266
267
src\core\sys\openbsd\string.d \
267
268
src\core\sys\openbsd\time.d \
Original file line number Diff line number Diff line change
1
+ /**
2
+ * D header file for OpenBSD pwd.h.
3
+ *
4
+ * Copyright: Copyright © 2022, The D Language Foundation
5
+ * License: <a href =" http://www.boost.org/LICENSE_1_0.txt" >Boost License 1.0</a>.
6
+ * Authors: Brian Callahan
7
+ */
8
+ module core.sys.openbsd.pwd ;
9
+
10
+ version (OpenBSD ):
11
+ extern (C ):
12
+ nothrow :
13
+ @nogc :
14
+
15
+ public import core.sys.posix.pwd ;
16
+ import core.sys.posix.sys.types : uid_t ;
17
+
18
+ passwd* getpwnam_shadow (scope const char * );
19
+ passwd* getpwuid_shadow (uid_t );
You can’t perform that action at this time.
0 commit comments