c - Cannot open include file: 'libgen.h' -


i want use basename function. include this:

#include <libgen.h> char *dirname(char *path); char *basename(char *path); 

but visual studio show me error :

error c1083: cannot open include file: 'libgen.h': no such file or directory intellisense: cannot open source file "libgen.h" 

is libgen.h not reference header file? why can't include? in advance.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -