libphobos/libdruntime/core/sys/openbsd/pwd.d
raw| 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); |