Sponsored Content
Full Discussion: GCC: General Macro for BSD
Top Forums Programming GCC: General Macro for BSD Post 302914773 by Corona688 on Wednesday 27th of August 2014 06:18:56 PM
Old 08-27-2014
Code:
cpp -dM <<"EOF"
#include <sys/param.h>

/* as much more code as you want */
EOF

This User Gave Thanks to Corona688 For This Post:
 

3 More Discussions You Might Find Interesting

1. BSD

for linux and BSD users interested in Unix system V/bsd

for all you unix/linux interested heres an online book for free that covers the basics of BSD SysV Unix commands and applications . giving the average linux user a perspective on the differences in context of the two operating systems and for BSD users covers material as a refernce guide. ... (0 Replies)
Discussion started by: moxxx68
0 Replies

2. Solaris

Installing gcc - recieve error message gcc : cannot execute

AIM- Install Oracle 11g on Solaris using VMWare Steps 1.Logged on as root 2.Created subfolders à /usr/local/bin & /usr/local/bin/gcc 3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD 4.Copied files from CD to /usr/local/bin/gcc 5.Terminal (root) à pkgadd -d... (8 Replies)
Discussion started by: Ackers
8 Replies

3. Programming

Make-question - redefine a macro, using another macro..?

I think there is no problem to use any macro in a new macro definishion, but I have a problem with that. I can not understand why? I have a *.mak file that inludes file with many definitions and rules. ############################################## include dstndflt.mak ... One of the... (2 Replies)
Discussion started by: alex_5161
2 Replies
ost::CommandOptionParse(3)				     Library Functions Manual					ost::CommandOptionParse(3)

NAME
ost::CommandOptionParse - This is the CommandOptionParse interface class. SYNOPSIS
#include <cmdoptns.h> Public Member Functions virtual ~CommandOptionParse ()=0 Virtual destructor needed so that the object may be correctly deleted. virtual bool argsHaveError ()=0 Get the value of the error flag set if the parser encountered errors. virtual const char * printErrors ()=0 Return a string of text describing the list of errors encountered. virtual const char * printUsage ()=0 Return a string that contains the usage description of this list of paramaters. virtual void registerError (const char *errMsg)=0 Register an error with this parser. virtual void performTask ()=0 The method should be invoked by the main code once it has determined that the application should be started. Detailed Description This is the CommandOptionParse interface class. To implement this object you can call makeCommandOptionParse(); This will instantiate a dynamically allocated version of this class and parse the command line for the list of command options that are passed in. Author: Gianni Mariani gianni@mariani.ws Examples: cmdlineopt.cpp. Constructor &; Destructor Documentation virtual ost::CommandOptionParse::~CommandOptionParse () [pure virtual] Virtual destructor needed so that the object may be correctly deleted. Member Function Documentation virtual bool ost::CommandOptionParse::argsHaveError () [pure virtual] Get the value of the error flag set if the parser encountered errors. Examples: cmdlineopt.cpp. virtual void ost::CommandOptionParse::performTask () [pure virtual] The method should be invoked by the main code once it has determined that the application should be started. Examples: cmdlineopt.cpp. virtual const char* ost::CommandOptionParse::printErrors () [pure virtual] Return a string of text describing the list of errors encountered. Examples: cmdlineopt.cpp. virtual const char* ost::CommandOptionParse::printUsage () [pure virtual] Return a string that contains the usage description of this list of paramaters. Examples: cmdlineopt.cpp. virtual void ost::CommandOptionParse::registerError (const char *errMsg) [pure virtual] Register an error with this parser. This string will be appended to the errors already buffered in this object. Examples: cmdlineopt.cpp. Author Generated automatically by Doxygen for GNU CommonC++ from the source code. GNU CommonC++ Sat Jun 23 2012 ost::CommandOptionParse(3)
All times are GMT -4. The time now is 07:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy