> For the complete documentation index, see [llms.txt](https://sandbox-docs.verifone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sandbox-docs.verifone.com/s-adk-5.1-programmers-guide/sys_2export_2sysinfo_2util_8h_source.md).

# util.h

[Go to the documentation of this file.](/s-adk-5.1-programmers-guide/readme/files/dir_a221c7c7a3d266b8aa1c13ced02d08a5/dir_1084a09caae2cca43d02da13ecc9a141/dir_8b8eef682edb37a46c9343899b359ed7/sys_2export_2sysinfo_2util_8h.md)

```cpp
 1 #pragma once
 2 
 8 #include <string>
 9 #include "dllspec.h"
 10 
 11 #ifndef DOXYGEN
 12 
 13 namespace vfisysinfo
 14 {
 15 #endif
 16 
 25 SYS_INFO_API void Dsp2Hex(char *dsp, long *hex, unsigned int n);
 26 
 33 SYS_INFO_API int sysPutEnv( const std::string & section, const std::string & label, const std::string & value );
 34 
 41 SYS_INFO_API int sysGetEnv( const std::string & section, const std::string & label, std::string & value );
 42 
 43 #ifndef DOXYGEN
 44 } // namespace vfisysinfo
 45 #endif
 46 
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sandbox-docs.verifone.com/s-adk-5.1-programmers-guide/sys_2export_2sysinfo_2util_8h_source.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
