| |
1 # Utilities |
| |
2 |
| |
3 Useful functions that are not specifically tied to a certain topic or domain are called Utilities. |
| |
4 The most useful of which are the predefined [compare functions](compare.h.md) for various primitive types. |
| |
5 |
| |
6 The [hash functions](hash_key.h.md) are usually of lesser interest unless you are using [hash maps](hash_map.h.md), |
| |
7 but they can be also used independently of the hash map context. |
| |
8 |
| |
9 When you are working with [data streams](streams.h.md), e.g. `FILE` streams |
| |
10 or any other stream (or buffer) API that uses an `fwrite`-compatible interface, |
| |
11 you will find the stream copy function quite useful. |
| |
12 |
| |
13 And last, but not least, if you are interested in unit testing, but don't know which testing framework to use: |
| |
14 search no more, because we have got your back with [UCX Test](test.h.md). |