Man page - zt_location(3)
Packages contains this manual
- zt_pack_boolean(3)
- zt_claim(3)
- zt_location_at(3)
- zt_test(3)
- zt_test_suite_func(3)
- zt_pack_integer(3)
- zt_pack_nothing(3)
- zt_location(3)
- libzt(3)
- zt_test_case_func(3)
- zt_main(3)
- zt_pack_pointer(3)
- zt_value(3)
- zt_visit_test_case(3)
- zt_pack_string(3)
- zt_visitor(3)
- zt_check(3)
- zt_pack_unsigned(3)
- zt_pack_rune(3)
apt-get install libzt-doc
Manual
UNTITLED () LOCAL UNTITLED ()
NAME
zt_location — description of a specific line in a source file
SYNOPSIS
#include <zt.h>
typedef struct zt_location { ... } zt_location;
DESCRIPTION
zt_location contains a file name and a line number.
|
Type |
Entry |
Description |
|
|
const char * |
filename |
Name of the source file, from __FILE__ |
|
|
int |
lineno |
Number of the line in said file, from __LINE__ |
Use ZT_CURRENT_LOCATION () macro to obtain a location describing the current file and line number.
IMPLEMENTATION NOTES
zt_location is used to report the location of failing test checks and assertions.
SEE ALSO
ZT_CURRENT_LOCATION (3), zt_location_at (3)
HISTORY
zt_location first appeared in libzt 0.1
AUTHORS
Zygmunt Krynicki < me@zygoon.pl > libzt 0.3.1 January 12, 2020 zt_location (3)