![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
编程语言
_编程浪子_
这个作者很懒,什么都没留下…
展开
-
Linux下使用popen()执行shell命令
函数定义 #include FILE * popen(constchar *command , constchar *type ); int pclose(FILE *stream); 函数说明 popen()函数通过创建一个管道,调用fork()产生一个子进程,执行一个shell以运行命令来开启一个进程。这个管道必须由pclose()函数关闭,而不是fclose()函数。pcl转载 2016-03-11 09:01:21 · 880 阅读 · 0 评论 -
嵌入式SQL
#include #include #include #include "util.h" #include EXEC SQL INCLUDE SQLCA; (1) main() { EXEC SQL BEGIN DECLARE SECTION; (2) char firstname[13]; char userid[9]; char p转载 2016-03-11 09:02:33 · 1008 阅读 · 0 评论