Which gtk method I have to use to get temporary path in Ubuntu?

前端 未结 5 1479
借酒劲吻你
借酒劲吻你 2021-01-03 00:52

How can I get the temporary directory path in Ubuntu?

5条回答
  •  春和景丽
    2021-01-03 01:06

    There is an environment variable TMPDIR which can set the location of the temporary dir, most programs respect this, if it's not set it will default to /tmp (or /var/tmp)

提交回复
热议问题