[vlc-devel] [PATCH] api: add vlc_gettmpdir
fcvlcdev at free.fr
Wed Feb 12 19:35:11 CET 2014
Le 12/02/2014 17:26, Rémi Denis-Courmont a écrit :
>> Otherwise, I'd need some config_GetUserDir( VLC_TMP_DIR ) for building
>> mkstemp() templates.
> Why would you need that? Especially why would you need to stack a
> portability layer on top of another one?
tempfd = mkstemp("/tmp/foobarXXXXXX");
How do you plan to deal with that template basedir on Win32 (or any
platform without /tmp) ?
More information about the vlc-devel