VSTa manual pages  - MSG_ERR (2)

NAME

msg_err - send back an error

CONTENTS

Synopsis
Description

SYNOPSIS

#include <sys/msg.h>
int msg_err(long sender, char *errstring);

DESCRIPTION

msg_err() is used to return an error from a server to a client. Most commonly, it is used to reply with error to a request received via msg_receive(). The client sees his msg_send() return a -1, and can access the errstring by calling strerror().

The client’s connection remains functional, and a new request can be sent via a new msg_send() call.


MSG_ERR (2)
Generated by manServer 1.06 from msg_err.2 using man macros.