HomeCore
0.1.3 (07b5544)
Bare-metal personal computer firmware for Cortex-M
Loading...
Searching...
No Matches
user.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: MIT */
6
#ifndef HOMECORE_USER_H
7
#define HOMECORE_USER_H
8
#include <stdint.h>
9
20
typedef
struct
{
22
uint32_t
uid
;
24
uint32_t
gid
;
26
const
char
*
name
;
28
const
char
*
home
;
29
}
user_t
;
30
32
#endif
user_t
User identity.
Definition
user.h:20
user_t::home
const char * home
Absolute home directory, used by session_init() and cd without arguments.
Definition
user.h:28
user_t::name
const char * name
Login name.
Definition
user.h:26
user_t::gid
uint32_t gid
Primary group ID.
Definition
user.h:24
user_t::uid
uint32_t uid
Numeric user ID; 0 is root.
Definition
user.h:22
include
homecore
user
user.h
Generated by
1.9.8