summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJeevan Ramakant Nagvekar <jeevan.nagvekar1@wipro.com>2018-07-27 16:01:51 +0530
committerChristoph Lipka <clipka@users.noreply.github.com>2018-12-21 10:16:46 +0100
commitd4ef0bbe46f7cb409792ab62ea1bdd3907fc4489 (patch)
tree595dbe87703eb6be227b83badb550095c7c71019 /include
parent744b0d0c6b9231250dff00ed873e9cd5966da3ff (diff)
downloadDLT-daemon-d4ef0bbe46f7cb409792ab62ea1bdd3907fc4489.tar.gz
Improvement - use dup2 in place of dup in daemon fork
1> While daemonizing DLT, for connecting I/O file descriptors to /dev/NULL POSIX call dup() is used. dup2() POSIX call is now used where explicit standard I/O descriptor number is mentioned. 2>After fork() directory changed to root in place of FIFO Base directory - "/tmp" Signed-off-by: Jeevan Ramakant Nagvekar <jeevan.nagvekar1@wipro.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions