X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fdaemon.h;h=8cbcfafe2442472eb1e16ea65269a2980ea498af;hb=020c93874e22c1c7492c30fe76a8e496571ede13;hp=1b4f988e3fbe627be1a55d5ad4bf9dfb1e7a7969;hpb=7d0c5973d5165f3cc6099de326ad0dfc326bac33;p=openvswitch diff --git a/lib/daemon.h b/lib/daemon.h index 1b4f988e..8cbcfafe 100644 --- a/lib/daemon.h +++ b/lib/daemon.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009, 2010, 2011, 2012 Nicira Networks. + * Copyright (c) 2008, 2009, 2010, 2011, 2012 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -73,4 +73,7 @@ void daemon_usage(void); pid_t read_pidfile(const char *name); pid_t read_pidfile_if_exists(const char *name); +pid_t fork_and_clean_up(void); +void daemonize_post_detach(void); + #endif /* daemon.h */