Server Wait On Clients System - API Documentation  v1.6.4
Server Wait On Clients System.
main.c File Reference

Server Wait On Clients server program. More...

#include <stdio.h>
#include <stdlib.h>
#include "internal.h"
#include <libmgec/mge-errno.h>
#include <swoc/cmdlineargs.h>
#include <swoc/libswocserver.h>
#include <swoc/signalhandle.h>
Include dependency graph for main.c:

Functions

int main (int argc, char **argv)
 Program entry point. More...
 

Variables

static char * prog_name
 This program's name. More...
 
int sws_err
 Global swocserver error flag. More...
 

Detailed Description

Server Wait On Clients server program.

To enable a server to wait on clients releasing flags prior to further server processing. (By use of swocserver -w).

Author
Copyright (C) 2015-2019, 2021, 2022 Mark Grant

Released under the GPLv3 only.
SPDX-License-Identifier: GPL-3.0-only

Version
v1.1.9 ==== 17/09/2022

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Program entry point.

Parameters
argcStandard CLA argc.
argvStandard CLA argv.
Returns
EXIT_SUCCESS on success, EXIT_FAILURE on error.

Variable Documentation

◆ prog_name

char* prog_name
static

This program's name.

◆ sws_err

int sws_err

Global swocserver error flag.