Tenok
A Linux-like Real-Time Operating System for Robotics and Internet of Things
Data Structures | Macros | Functions
utsname.h File Reference

Go to the source code of this file.

Data Structures

struct  utsname
 

Macros

#define _UTSNAME_LENGTH   65
 

Functions

int uname (struct utsname *buf)
 Return the name and the version of the system. More...
 

Function Documentation

◆ uname()

int uname ( struct utsname buf)

Return the name and the version of the system.

Parameters
bufThe buffer for returning the names.
Return values
int0 on success and -1 on error, with the reason left in errno.