common: Add permission denied return value 50/290150/2 accepted/tizen/unified/20230322.080549
authorTaeminYeom <taemin.yeom@samsung.com>
Tue, 21 Mar 2023 01:48:29 +0000 (10:48 +0900)
committerTaeminYeom <taemin.yeom@samsung.com>
Tue, 21 Mar 2023 01:53:16 +0000 (10:53 +0900)
commit20f273099fe0393bf839a7911eec3b495bc441bd
treee22e89679695eeb38253e4a50bcf9f0db7ec1620
parent6b07aca79f6861d31b5609037bf8508a08acbae1
common: Add permission denied return value

When apps attempt to open, read or write the device node without permission,
API should return PERIPHERAL_ERROR_PERMISSION_DENIED.
So, add it in CHECK_ERROR macro.

Change-Id: I862da7c08d96fd1506b89834a5721832f7e42ea1
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
src/common.h