posix

Recording via System Calls C# Mono Linux

Trying to write an integer value to the Linux system address /sys/class/backlight/backlight/brightness I use Mono Posix ... figure out how to write the value to sys/class.... It is also not clear how one can read the address from the Path constant.

C++ After executing one execl function, no other functions are executed

The task is to start 4 processes with system calls: execl, execlp, execv, execvp; output the ids of these processes and close ... "4", NULL); return 0; } Why is it that after executing execl, everything below it is not executed? How do I fix this?

Where to get the POSIX standard?

I want to write a small libc for my micro-linux distribution according to the POSIX standard, after Googling I realized that ... bsite is paid for. How to write according to this standard for free, and where to get the current version of the standard?

Pthreads execution order error

My function main looked like this (fnThread was set further back): int main() { int i; int *result; pthread_t tid[N ... a.\n"); return 1; } printf("Lancou uma tarefa\n"); } ... and already returned well. Can anyone explain why?

How to reuse a pthreads?

I am using pthread.h and using the following functions: // // Cria A thread // thread_argsPP[contthreadsPP] = cont ... closing the thread I can't recreate it, I would like to know if there is any way to reuse a pthread after pthread_exit(NULL).

Problem of the Year 2038

What is the problem of the Year 2038? Is it similar to the millennium bug? Are there already solutions to prevent information disruption?