libcm is a C development framework with an emphasis on audio signal processing applications.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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