Stroika Library
3.0d16
Help-Home
Loading...
Searching...
No Matches
Platform/POSIX/Users.h
1
/*
2
* Copyright(c) Sophist Solutions, Inc. 1990-2025. All rights reserved
3
*/
4
#ifndef _Stroika_Foundation_Execution_Platform_POSIX_Users_h_
5
#define _Stroika_Foundation_Execution_Platform_POSIX_Users_h_ 1
6
7
#include "Stroika/Foundation/StroikaPreComp.h"
8
9
#if !qStroika_Foundation_Common_Platform_POSIX
10
#error "ONLY INCLUDE FOR POSIX"
11
#endif
12
13
#include <pwd.h>
14
15
#include "
Stroika/Foundation/Characters/String.h
"
16
#include "Stroika/Foundation/Common/Common.h"
17
18
namespace
Stroika::Foundation::Execution::Platform::POSIX
{
19
20
using
Characters::String;
21
22
uid_t UserName2UID (
const
String& name);
23
String uid_t2UserName (uid_t uid);
24
25
// This returns the uid of the actual original user - not the effectvie permissions
26
uid_t GetUID ();
27
28
uid_t GetEffectiveUID ();
29
30
}
31
32
#endif
/*_Stroika_Foundation_Execution_Platform_POSIX_Users_h_*/
String.h
Stroika::Foundation::Execution::Platform::POSIX
Definition
SemWaitableEvent.h:20
Library
Sources
Stroika
Foundation
Execution
Platform
POSIX
Users.h
Generated by
1.9.8