Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
syscall.h File Reference
#include <syscall_list.h>
#include <arch/syscall.h>
#include <stdbool.h>
#include <zephyr/types.h>
#include <linker/sections.h>

Go to the source code of this file.

Functions

static __pinned_func bool k_is_user_context (void)
 

Function Documentation

◆ k_is_user_context()

static __pinned_func bool k_is_user_context ( void  )
inlinestatic

Indicate whether the CPU is currently in user mode

Returns
true if the CPU is currently running with user permissions