src/include/musl/gshadow.h
raw| 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 | #pragma once |
| 3 | |
| 4 | #include <errno.h> |
| 5 | #include <stddef.h> |
| 6 | |
| 7 | struct sgrp { |
| 8 | char *sg_namp; |
| 9 | char *sg_passwd; |
| 10 | char **sg_adm; |
| 11 | char **sg_mem; |
| 12 | }; |
| 13 | |
| 14 | static inline int getsgnam_r( |
| 15 | const char *__name, |
| 16 | struct sgrp *__result_buf, |
| 17 | char *__buffer, |
| 18 | size_t __buflen, |
| 19 | struct sgrp **__result) { |
| 20 | |
| 21 | return EOPNOTSUPP; /* this function returns positive errno in case of error. */ |
| 22 | } |