OPENSSL_isservice

Report whether the process appears to be a non-interactive Windows service.

Synopsis

Declared in <openssl/crypto.h>

int
OPENSSL_isservice();

Return Value

1 if running as a service (Windows), 0 if interactive / not a service, or -1 on query failure; always 0 on non-Windows.