搜索资源列表
XGetopt_demo
- XGetopt Windows下的Getopt兼容函数 解决了LINUX下程序向WINDOWS命令行程序部分移植问题-XGetopt the Getopt Windows compatibility function to solve the Linux way Preface to the Windows command line procedures of Transplantation
LinuxCmdOnWindows
- Windows 平台上的 Linux 命令, 适合习惯于 linux 的人使用. 用法: 请在命令行窗口中键入 \"程序名 -?\" 查看帮助. 注: awkprint ... 相当于 linux 下的 awk {print ...} . 因为 windows 下 awk print 效率太低, 所以引入 awkprint
2
- 实验二、进程控制(15分) 设计并实现Unix的“time”命令。“mytime”命令通过命令行参数接受要运行的程序,创建一个独立的进程来运行该程序,并记录程序运行的时间。 在Windows下实现: 使用CreateProcess()来创建进程 使用WaitForSingleObject()在“mytime”命令和新创建的进程之间同步 调用GetSystemTime()来获取时间 在Linux下实现: 使用fork()/execv()来创建进程
MyTTY01
- 命令行的串口助手,可模仿Linux的TTY-Dos command tty