ZT_CURRENT_LOCATION(3)

provides describing the location of the source file invoking the macro.

Section 3 libzt-doc bookworm source

Description

UNTITLED() LOCAL UNTITLED()

NAME

ZT_CURRENT_LOCATION — get the current location in the source file

SYNOPSIS

#include <zt.h>
#define ZT_CURRENT_LOCATION() zt_location_at(__FILE__, __LINE__)

DESCRIPTION

ZT_CURRENT_LOCATION provides zt_location describing the location of the source file invoking the macro.

RETURN VALUES

A zt_location containing the current values of __FILE__ and __LINE.

SEE ALSO

zt_location_at(3), zt_location(3)

HISTORY

ZT_CURRENT_LOCATION first appeared in libzt 0.1

AUTHORS

Zygmunt Krynicki <me@zygoon.pl> libzt 0.3.1 January 12, 2020 ZT_CURRENT_LOCATION(3)