LCOV - code coverage report
Current view: top level - source/common/api/posix - os_sys_calls_impl_hot_restart.cc (source / functions) Hit Total Coverage
Test: coverage.dat Lines: 0 8 0.0 %
Date: 2024-01-05 06:35:25 Functions: 0 2 0.0 %

          Line data    Source code
       1             : #include <cerrno>
       2             : 
       3             : #include "source/common/api/os_sys_calls_impl_hot_restart.h"
       4             : 
       5             : namespace Envoy {
       6             : namespace Api {
       7             : 
       8           0 : SysCallIntResult HotRestartOsSysCallsImpl::shmOpen(const char* name, int oflag, mode_t mode) {
       9           0 :   const int rc = ::shm_open(name, oflag, mode);
      10           0 :   return {rc, errno};
      11           0 : }
      12             : 
      13           0 : SysCallIntResult HotRestartOsSysCallsImpl::shmUnlink(const char* name) {
      14           0 :   const int rc = ::shm_unlink(name);
      15           0 :   return {rc, errno};
      16           0 : }
      17             : 
      18             : } // namespace Api
      19             : } // namespace Envoy

Generated by: LCOV version 1.15