Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
KWSys
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sylvain Joubert
KWSys
Commits
33665aec
Commit
33665aec
authored
21 years ago
by
Brad King
Browse files
Options
Downloads
Patches
Plain Diff
Removed Exception_Abort because there is no windows version. Also removed stray typedef keywords.
parent
3f9543d0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Process.h.in
+3
-7
3 additions, 7 deletions
Process.h.in
with
3 additions
and
7 deletions
Process.h.in
+
3
−
7
View file @
33665aec
...
...
@@ -38,7 +38,6 @@
#define kwsysProcess_GetState kwsys(Process_GetState)
#define kwsysProcess_State_e kwsys(Process_State_e)
#define kwsysProcess_Exception_None kwsys(Process_Exception_None)
#define kwsysProcess_Exception_Abort kwsys(Process_Exception_Abort)
#define kwsysProcess_Exception_Fault kwsys(Process_Exception_Fault)
#define kwsysProcess_Exception_Illegal kwsys(Process_Exception_Illegal)
#define kwsysProcess_Exception_Interrupt kwsys(Process_Exception_Interrupt)
...
...
@@ -106,7 +105,7 @@ void kwsysProcess_SetTimeout(kwsysProcess* cp, double timeout);
* kwsysProcess_State_Killed = Child process terminated by Kill method.
*/
int kwsysProcess_GetState(kwsysProcess* cp);
typedef
enum kwsysProcess_State_e
enum kwsysProcess_State_e
{
kwsysProcess_State_Starting,
kwsysProcess_State_Error,
...
...
@@ -123,7 +122,6 @@ typedef enum kwsysProcess_State_e
* caused the child to terminate abnormally. Possible exceptions are:
*
* kwsysProcess_Exception_None = No exceptional behavior occurred.
* kwsysProcess_Exception_Abort = Child exited with abort call.
* kwsysProcess_Exception_Fault = Child crashed with a memory fault.
* kwsysProcess_Exception_Illegal = Child crashed with an illegal instruction.
* kwsysProcess_Exception_Interrupt = Child was interrupted by user (Cntl-C/Break).
...
...
@@ -131,10 +129,9 @@ typedef enum kwsysProcess_State_e
* kwsysProcess_Exception_Other = Child terminated for another reason.
*/
int kwsysProcess_GetExitException(kwsysProcess* cp);
typedef
enum kwsysProcess_Exception_e
enum kwsysProcess_Exception_e
{
kwsysProcess_Exception_None,
kwsysProcess_Exception_Abort,
kwsysProcess_Exception_Fault,
kwsysProcess_Exception_Illegal,
kwsysProcess_Exception_Interrupt,
...
...
@@ -203,7 +200,7 @@ void kwsysProcess_Execute(kwsysProcess* cp);
*/
int kwsysProcess_WaitForData(kwsysProcess* cp, int pipes, char** data,
int* length, double* timeout);
typedef
enum kwsysProcess_Pipes_e
enum kwsysProcess_Pipes_e
{
kwsysProcess_Pipe_STDOUT=1,
kwsysProcess_Pipe_STDERR=2,
...
...
@@ -261,7 +258,6 @@ void kwsysProcess_Kill(kwsysProcess* cp);
# undef kwsysProcess_GetState
# undef kwsysProcess_State_e
# undef kwsysProcess_Exception_None
# undef kwsysProcess_Exception_Abort
# undef kwsysProcess_Exception_Fault
# undef kwsysProcess_Exception_Illegal
# undef kwsysProcess_Exception_Interrupt
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment