⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 popen_ex3.c

📁 关于web server、进程间通信、shell编程的经典源代码
💻 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 + -