__vsyslog_chk

Name

__vsyslog_chk -- send messages to the system logger, with stack checking

Synopsis

#include <syslog.h>

void __vsyslog_chk(int priority, int flag, const char * format, va_list ap);

Description

The interface __vsyslog_chk() shall function in the same way as the interface vsyslog(), except that __vsyslog_chk() shall check for stack overflow before computing a result, depending on the value of the flag parameter. If an overflow is anticipated, the function shall abort and the program calling it shall exit.

In general, the higher the value of flag, the more security measures this interface shall take in the form of checking the stack, parameter values, and so on.

The __vsyslog_chk() function is not in the source standard; it is only in the binary standard.