This website requires JavaScript.
Explore
Help
Sign in
Stowage
/
ladybird
Watch
2
Star
0
Fork
You've already forked ladybird
0
mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced
2025-10-19 15:43:20 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
b4a2bb9383
ladybird
/
Libraries
/
LibCore
/
CUserInfo.h
6 lines
77 B
C
Raw
Normal View
History
Unescape
Escape
LibCore: Make get_current_user_home_path() return String & close passwd 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.
2019-08-03 08:32:07 +02:00
#
pragma once
#
include
<AK/AKString.h>
String
get_current_user_home_path
(
)
;
Reference in a new issue
Copy permalink