发布时间:2015-12-28 19:20:35
环境:windows 10 64位;在MFC中调用PathIsDirectory时,返回false,GetLastError() 为2,无法找到目标,但"C:\\Windows\\System32\\oobe\\info"确实存在的。原因:64位的windows对system32做了重定向。以下是网络资料(http://www.jb51.net/os/windows/339151.html):====================================参考资料=.........【阅读全文】
发布时间:2015-12-15 19:19:12
环境:Linux centosx64.e9vm 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux安装:phantomjs-1.9.7执行./build.h,报“error: alsa/asoundlib.h: No such file or directory”直接通过libasound-dev的yum install是找不到的,通过“yum install alsa-lib-devel”安装成功。.........【阅读全文】
发布时间:2015-10-14 19:10:21
<span style="color:#a52a2a;">相关函数:fchmod, stat, open, chown<br /><br />头文件:#include <sys/types.h> #include <sys/stat.h><br /><br />定义函数:int chmod(const char * path, mode_t mode);<br /><br /><span style="color:#ff0000;">函数说明:chmod()会依参数mode 权限来.........【阅读全文】
发布时间:2015-10-14 19:02:30
<h1 class="postTitle"><a id="cb_post_title_url" class="postTitle2" href="http://www.cnblogs.com/xuxm2007/archive/2012/06/05/2536294.html">[转]剖析top命令显示的VIRT RES SHR值</a></h1><div id="cnblogs_post_body"><p style="margin-top:0pt;margin-right:0px;margin-bottom:0pt;margin-left:0px;padding-.........【阅读全文】
发布时间:2014-04-22 18:00:14
select FQQ,FScoreCount from Tbl_User into outfile"/tmp/terminatedtest.txt" fields terminated by ",";select * from test into outfile '/home/user/test.txt'在linux(centos)下 ,启动了mysql 并给用户文件读写的权利grant file on *.* to root@localhost;在linux系统上,目录的权限全部是 rwx.........【阅读全文】