File FilesystemUtils.c

FileList > core > FilesystemUtils.c

Go to the source code of this file

  • #include "FilesystemUtils.h"
  • #include <stdlib.h>
  • #include <stdio.h>
  • #include <dirent.h>
  • #include <sys/stat.h>
  • #include <unistd.h>
  • #include <string.h>
  • #include "Log.h"

Public Functions

Type Name
int FS_CopyFile (char * src, char * dst)
int FS_DeleteDirRecursive (char * path)
int FS_GetTempDir (char * outBuf, int size)
Get a temporary directory, you should delete this when the program closes.

Public Functions Documentation

function FS_CopyFile

int FS_CopyFile (
    char * src,
    char * dst
) 

function FS_DeleteDirRecursive

int FS_DeleteDirRecursive (
    char * path
) 

function FS_GetTempDir

Get a temporary directory, you should delete this when the program closes.

int FS_GetTempDir (
    char * outBuf,
    int size
) 

Parameters:

  • outBuf buffer to write to
  • size buffer size


The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/engine/src/core/FilesystemUtils.c