libcm is a C development framework with an emphasis on audio signal processing applications.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

cmExec.h 758B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef cmExec_h
  2. #define cmExec_h
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. //( file_desc:"Run a child process via 'execvp()'" kw[system]
  7. enum
  8. {
  9. kOkExRC,
  10. kInvalidPgmFnExRC, // pgmFn was NULL
  11. kForkFailExRC, // internal fork() failed
  12. kExecFailExRC, // internal exec() failed.
  13. kPgmFailExRC, // pgm returned a non-zero exit status
  14. kWaitFailExRC // internal waitpid() failed
  15. };
  16. typedef unsigned cmExRC_t;
  17. // If returnValRef is non-NULL *returnValRef is set to the program return value.
  18. cmExRC_t cmExecV( cmErr_t* err, int* returnValRef, const cmChar_t* pgmFn, va_list vl );
  19. cmExRC_t cmExec( cmErr_t* err, int* returnValRef, const cmChar_t* pgmFn, ... );
  20. //)
  21. #ifdef __cplusplus
  22. }
  23. #endif
  24. #endif