libcommon: Add syscommon_is_mounted() 64/296264/2 accepted/tizen/unified/20230726.163532
authorYoungjae Cho <y0.cho@samsung.com>
Mon, 24 Jul 2023 11:46:52 +0000 (20:46 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Tue, 25 Jul 2023 01:55:46 +0000 (10:55 +0900)
commit78b2e902742b129dc1bc580a75fc89febde186a4
treedbc44cc8f35bb68b3f5ce854c20076f998f25372
parent57ed9ab77bd7dc81da2c43ef910eae3b369a3942
libcommon: Add syscommon_is_mounted()

syscmmon_is_mounted() checks whether the given path exists in /etc/mtab.

Change-Id: I994c4190a069330403e5eb516eb6fef7f5d5404f
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
include/libsyscommon/common.h
src/libcommon/common.c