00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef ACE_OS_INCLUDE_OS_PWD_H
00017 #define ACE_OS_INCLUDE_OS_PWD_H
00018
00019 #include "ace/pre.h"
00020
00021 #include "ace/config-all.h"
00022
00023 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00024 # pragma once
00025 #endif
00026
00027 #include "ace/os_include/sys/os_types.h"
00028
00029 #if !defined (ACE_LACKS_PWD_H)
00030 # include <pwd.h>
00031 #endif
00032
00033
00034 #ifdef __cplusplus
00035 extern "C"
00036 {
00037 #endif
00038
00039 #if !defined (ACE_WIN32)
00040
00041
00042 # if defined (_AIX) && defined (__IBMCPP__) && (__IBMCPP__ >= 400)
00043 extern int _posix_getpwnam_r(const char *, struct passwd *, char *,
00044 int, struct passwd **);
00045 # endif
00046 #endif
00047
00048 #if defined (DIGITAL_UNIX)
00049 extern int _Pgetpwnam_r (const char *, struct passwd *,
00050 char *, size_t, struct passwd **);
00051 #endif
00052
00053 #ifdef __cplusplus
00054 }
00055 #endif
00056
00057 #include "ace/post.h"
00058 #endif