?? popen_ex3.c
字號:
/* popen_ex3.c * shows how to use popen to write to a process that * reads from stdin. This program writes email to * two users. Note how easy it is to use fprintf * to format the data to send. */#include <stdio.h>main(){ FILE *fp; fp = popen( "mail admin backup", "w" ); fprintf( fp, "Error with backup!!\n" ); pclose( fp );}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -