| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Functions
os_version_info.h File Reference
`#include <wireshark.h>`

Go to the source code of this file.

## Functions
WS_DLL_PUBLIC void | get_os_version_info (GString *str)
| Appends the operating system version information to a GString.

## Detailed Description

Declarations of outines to report operating system version information

Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs

SPDX-License-Identifier: GPL-2.0-or-later

## Function Documentation

## ◆ get_os_version_info()

WS_DLL_PUBLIC void get_os_version_info | ( | GString * | str | ) |

Appends the operating system version information to a GString.

Retrieves the current operating system's version details and appends them to the provided GString. This may include the OS name, version number, and build information depending on platform support.

Parameters

  str | Pointer to a GString where the OS version info will be appended.