Skip to content

Instantly share code, notes, and snippets.

@karuvally
Created June 30, 2018 13:18
Show Gist options
  • Save karuvally/c8a6c9be7fa90ec5ab4a6a901d057f12 to your computer and use it in GitHub Desktop.
Save karuvally/c8a6c9be7fa90ec5ab4a6a901d057f12 to your computer and use it in GitHub Desktop.
libuv uv_os_homedir()
#include<stdio.h>
#include "uv.h"
int main()
{
size_t size = 100;
char HOME_DIR[size];
uv_os_homedir(HOME_DIR, &size);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment