mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-25 14:05:15 +00:00
This API was returning a "const char*" and it was unclear who took care of the underlying memory. Returning a String makes that obvious. Also make sure we close the /etc/passwd file when we're done with it.
5 lines
77 B
C
5 lines
77 B
C
#pragma once
|
|
|
|
#include <AK/AKString.h>
|
|
|
|
String get_current_user_home_path();
|