Home
last modified time | relevance | path

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

/ohos5.0/base/hiviewdfx/hilog_lite/frameworks/featured/
H A Dhiview_log.c1487 static int g_hilogFd = -1; variable
1550 if (g_hilogFd == -1) { in HiLogPrintArgs()
1551 g_hilogFd = open(HILOG_DRIVER, O_WRONLY | O_CLOEXEC); in HiLogPrintArgs()
1553 if (g_hilogFd == -1) { in HiLogPrintArgs()
1556 ret = write(g_hilogFd, buf, strlen(buf) + 1); in HiLogPrintArgs()
1579 if (g_hilogFd == -1) { in FlushHilog()
1580 g_hilogFd = open(HILOG_DRIVER, O_WRONLY); in FlushHilog()
1582 if (g_hilogFd == -1) { in FlushHilog()
1585 ret = write(g_hilogFd, buf, strlen(buf) + 1); in FlushHilog()