ooRexx  4.2.0-source
About: ooRexx (Open Object Rexx) is a free implementation of Object Rexx. Object Rexx is an enhancement of the classic Rexx interpreter; a full-featured programming language with a human-oriented syntax.
  Fossies Dox: ooRexx-4.2.0-source.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

rxqueue.cpp File Reference
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "rexx.h"
#include "RexxMessageNumbers.h"
Include dependency graph for rxqueue.cpp:

Go to the source code of this file.

Macros

#define RXQUEUE_CLEAR   -2 /* used for queue mode CLEAR flag */
 
#define BAD_MESSAGE   -6 /* Exit RC for message not found. */
 
#define MSG_BUF_SIZE   256 /* Error message buffer size */
 
#define LINEBUFSIZE   65472 /* Arbitrary but matches current docs */
 
#define REXXMESSAGEFILE   "rexx.cat"
 
#define CATD_ERR   -1
 

Functions

void options_error (int type, const char *queuename)
 
size_t get_line (char *, size_t, size_t *)
 
int main (int argc, char *argv[])
 

Variables

char line [65472]
 
char work [256]
 
int queuemode =-1
 

Macro Definition Documentation

◆ BAD_MESSAGE

#define BAD_MESSAGE   -6 /* Exit RC for message not found. */

Definition at line 71 of file rxqueue.cpp.

◆ CATD_ERR

#define CATD_ERR   -1

Definition at line 78 of file rxqueue.cpp.

◆ LINEBUFSIZE

#define LINEBUFSIZE   65472 /* Arbitrary but matches current docs */

Definition at line 74 of file rxqueue.cpp.

◆ MSG_BUF_SIZE

#define MSG_BUF_SIZE   256 /* Error message buffer size */

Definition at line 73 of file rxqueue.cpp.

◆ REXXMESSAGEFILE

#define REXXMESSAGEFILE   "rexx.cat"

Definition at line 76 of file rxqueue.cpp.

◆ RXQUEUE_CLEAR

#define RXQUEUE_CLEAR   -2 /* used for queue mode CLEAR flag */

Definition at line 70 of file rxqueue.cpp.

Function Documentation

◆ get_line()

size_t get_line ( char *  buffer,
size_t  bufsize,
size_t *  linelen 
)

Definition at line 385 of file rxqueue.cpp.

Referenced by main().

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ options_error()

Variable Documentation

◆ line

◆ queuemode

int queuemode =-1

Definition at line 83 of file rxqueue.cpp.

Referenced by main().

◆ work