Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-15 10:22:57

0001 /*
0002  * Copyright (c) 2016-2020 Intel, Inc.  All rights reserved.
0003  * Copyright (c) 2021-2022 Nanook Consulting.  All rights reserved.
0004  * $COPYRIGHT$
0005  *
0006  * Additional copyrights may follow
0007  *
0008  * $HEADER$
0009  */
0010 
0011 #ifndef PMIX_GETID_H
0012 #define PMIX_GETID_H
0013 
0014 #include "src/include/pmix_config.h"
0015 #include "pmix_common.h"
0016 
0017 #ifdef HAVE_UNISTD_H
0018 #    include <unistd.h>
0019 #endif
0020 #ifdef HAVE_SYS_TYPES_H
0021 #    include <sys/types.h>
0022 #endif
0023 
0024 BEGIN_C_DECLS
0025 
0026 /* lookup the effective uid and gid of a socket */
0027 PMIX_EXPORT pmix_status_t pmix_util_getid(int sd, uid_t *uid, gid_t *gid);
0028 
0029 END_C_DECLS
0030 
0031 #endif /* PMIX_PRINTF_H */