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 685B

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