在Windows上提供的nftw(文件树的步行路程)功能 [英] Is the nftw(file tree walk) function available on Windows

查看:97
本文介绍了在Windows上提供的nftw(文件树的步行路程)功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在写code走路的目录,并使用 nftw 在Linux上的子目录。是 nftw 功能在Windows?

I'm writing code to walk a directory and its subdirs on linux using nftw. Is the nftwfunction available on Windows?

推荐答案

不为标准的Windows API的一部分,没有。

Not as part of the standard Windows APIs, no.

另外请注意,手册页声明:

符合
  POSIX.1-2001,SVR4,SUSv1。 POSIX.1-2008标记FTW()为过时。

Conforming To POSIX.1-2001, SVr4, SUSv1. POSIX.1-2008 marks ftw() as obsolete.

所以,这也许不是最好的起点甚至打靶时POSIX

So it's perhaps not the best starting point even when targetting POSIX.

不过,这个库实现它的Windows。

Still, this library implements it for Windows.

这篇关于在Windows上提供的nftw(文件树的步行路程)功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆