Home
last modified time | relevance | path

Searched refs:pathname (Results 1 – 2 of 2) sorted by relevance

/hostap-latest/tests/hwsim/
Dtest_fst_config.py35 def to_file(self, pathname): argument
56 def to_file(self, pathname): argument
59 with open(pathname, "w") as f:
73 with open(pathname, "r") as f:
74 logger.debug("wrote hostapd config file %s:\n%s" % (pathname,
86 def to_file(self, pathname): argument
89 with open(pathname, "w") as f:
97 with open(pathname, "r") as f:
98 logger.debug("wrote wpa_supplicant config file %s:\n%s" % (pathname, f.read()))
/hostap-latest/src/common/
Dwpa_ctrl.c280 char pathname[PATH_MAX]; in wpa_ctrl_cleanup() local
286 dirnamelen = (size_t) os_snprintf(pathname, sizeof(pathname), "%s/", in wpa_ctrl_cleanup()
288 if (dirnamelen >= sizeof(pathname)) { in wpa_ctrl_cleanup()
292 namep = pathname + dirnamelen; in wpa_ctrl_cleanup()
296 unlink(pathname); in wpa_ctrl_cleanup()