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
20typedef struct {
22 uint32_t uid;
24 uint32_t gid;
26 const char *name;
28 const char *home;
29} user_t;
30
32#endif
User identity.
Definition user.h:20
const char * home
Absolute home directory, used by session_init() and cd without arguments.
Definition user.h:28
const char * name
Login name.
Definition user.h:26
uint32_t gid
Primary group ID.
Definition user.h:24
uint32_t uid
Numeric user ID; 0 is root.
Definition user.h:22