NetSurf
Data Structures | Functions
utsname.h File Reference

Interface to uts API to get name and information about current kernel. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  utsname
 system information filled in by uname derived from posix spec. More...
 

Functions

int uname (struct utsname *buf)
 Get the system information. More...
 

Detailed Description

Interface to uts API to get name and information about current kernel.

Definition in file utsname.h.

Function Documentation

◆ uname()

int uname ( struct utsname buf)

Get the system information.

Parameters
bufthe buffer to fill with the information.
Returns
0 on sucess or -1 and errno set on faliure.

Definition at line 459 of file utils.c.

References utsname::machine, utsname::nodename, utsname::release, utsname::sysname, and utsname::version.

Referenced by nslog_init(), and user_agent_build_string().

Here is the caller graph for this function: