Homebrew Homebrew app Help Finding a Library to Create Directories (on SD)

Pk11

A catgirl with a DSi
Member
Joined
Jun 26, 2019
Messages
1,285
Trophies
1
Age
22
Location
米国
Website
xn--rck9c.xn--tckwe
XP
3,914
Country
United States
Like to just make a directory in C / C++? You don't need any special library besides just the normal libfat that comes with libnds, just do:

Code:
mkdir("/path/to/dir", 0777);

(note the 0777 for the permissions, not 777, the 0 makes it octal)

You should just need to include the dirent.h header for that:

Code:
#include <dirent.h>
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    cuz i got high, cuz i got high, cuz i got high
    +1
  • BigOnYa @ BigOnYa:
    Ban, ban, ban
    +1
  • NinStar @ NinStar:
    super monkey ball
  • HiradeGirl @ HiradeGirl:
    How's everyone doing?
  • HiradeGirl @ HiradeGirl:
    Would you recommend a Meta Quest 2 as first low budget headset?
  • SylverReZ @ SylverReZ:
    @BigOnYa, Maybe he doesn't know how to type words for shit.
  • SylverReZ @ SylverReZ:
    GBAtemp should be legally obligated to ban them, as its against the law to collect information from users under 13 because of COPPA. :tpi:
  • SylverReZ @ SylverReZ:
    @NinStar, Super Monkey Ball: Banana Blitz
  • SylverReZ @ SylverReZ:
    @HiradeGirl, Why not get an Oculus?
  • Psionic Roshambo @ Psionic Roshambo:
    VR is like 3D TVs in my opinion it's cool and all but it doesn't have enough great content.
    +1
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, Porn exists, Psi.
  • SylverReZ @ SylverReZ:
    I'm sure you'll live with it.
  • Veho @ Veho:
    VR had the chance to integrate with existing games and tech but VR companies said "NO, I WANT MY SHIT TO BE STANDALONE AND MY GAMES EXCLUSIVE TO FACEBOOK"
    +1
  • Veho @ Veho:
    Back when Oculus Rift was still starting out and being demoed around, they modded existing games to use it as a 360° immersive screen thing and that was AMAZING.
    +1
  • K3Nv2 @ K3Nv2:
    The tech isn't there for affordable power enough VR headsets at a good market value yet sadly, oculus had a good idea but didn't have enough funds for marketing iirc
  • Veho @ Veho:
    But now it's "can I use my VR set with my racing games, that would be neat?" "ONLY IF YOU USE OUR DILDOSTICK CONTROLLERS AND RUN THE GAME ON OUR ANDROID-UNDERPOWERED BRICK"
    +1
  • Veho @ Veho:
    The tech to have quality VR goggles at an affordable price is here, but every set has to have 4 additional controllers and be standalone.
  • K3Nv2 @ K3Nv2:
    These are the same type of gamers that spend $2,000 on a GPU when a $600 GPU gives nearly the same outcome which is what the market looks at for them to do spend more on unneeded bs
  • K3Nv2 @ K3Nv2:
    If we're talking AAA titles a vr headset would be priced at nearly the same cost as a midrange gaming pc maybe even double
  • K3Nv2 @ K3Nv2:
    https://www.walmart.com/ip/3439939603 this is cool a portable blackstone
  • Veho @ Veho:
    The investment group?
    Veho @ Veho: The investment group?