#include <stdio.h>
#include <sys/types.h>
#include <dirent.h>

int main(void)
{
    DIR *dir;
    struct dirent *o;
    dir = opendir ("./");

    if (dir != NULL)
    {
        while ((o = readdir (dir)) != NULL)
        {
            printf("%s %d %llu\n", o->d_name, o->d_type, o->d_ino);
        }

        (void) closedir (dir);
    }
    else
    {
        perror ("Couldn't open the directory");
    }

    return 0;
}

最新文章

  1. wget 显示&quot;英国中部时间&quot;,去掉烦人的刷屏显示
  2. Hibernate参数一览表
  3. 写给喜欢用Block的朋友(ios Block)
  4. Python Base HTTP Server
  5. UITabelView 高级(自定义Cell)
  6. SQL对like 操作中的特殊字符处理方法
  7. 【C语言】函数和自定义函数
  8. (十)Hibernate 查询方式
  9. 趣解curl
  10. css3响应式布局
  11. HashMap工作原理
  12. 谈论Java原子变量和同步的效率 -- 颠覆你的生活
  13. fetch()的用法
  14. bzoj 4345: [POI2016]Korale
  15. winform打开本地html页面
  16. [bzoj4881][Lydsy2017年5月月赛]线段游戏
  17. appium 3 跑起来
  18. 浅析data:image/png;base64的应用
  19. css基本语法及页面引用
  20. python--接口开发

热门文章

  1. eclipse不能新建server
  2. canvas关于getImageData跨域问题解决方法
  3. 如何对web.config进行加密和解密
  4. 05:统计单词数【NOIP2011复赛普及组第二题】
  5. ThinkPhp单字母函数
  6. LeetCode---Binary Search
  7. LeetCode----Array
  8. 创建COM对象时遭遇 800702e4
  9. C# List 的一些操作 (两List元素是否想同,List是否包含在另一个List中)
  10. Add Digits, Maximum Depth of BinaryTree, Search for a Range, Single Number,Find the Difference