8
24
2010
1

unix 1-6

 

//============================================================================
// Name        : unix.cpp
// Author      : xiaoguozi
// Version     :
// Copyright   : Your copyright notice
// Description : Ansi-style
//============================================================================

#include "apue.h"
#include <dirent.h>
#include <iostream>
#include <sstream>
#include <vector>
#include <sys/wait.h>
#include <errno.h>
using namespace std;
#define BUFSIZE 4096

int main(int argc,char *argv[]) {
	::fprintf(stderr,"EACCES: %s\n",strerror(EACCES));
	errno=ENOENT;
	perror(argv[0]);
	return 0;
}
Category: unix | Tags: strerror perror | Read Count: 1430

登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter

Host by is-Programmer.com | Power by Chito 1.3.3 beta | Theme: Aeros 2.0 by TheBuckmaker.com