usb_moded 0.86.0+mer64
usb_moded-sigpipe.c File Reference
#include "usb_moded-sigpipe.h"
#include "usb_moded.h"
#include "usb_moded-log.h"
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>

Go to the source code of this file.

Functions

bool sigpipe_init (void)
 

Detailed Description

Copyright (c) 2010 Nokia Corporation. All rights reserved. Copyright (c) 2012 - 2021 Jolla Ltd.

Author
Simo Piiroinen simo..nosp@m.piir.nosp@m.oinen.nosp@m.@jol.nosp@m.lamob.nosp@m.ile..nosp@m.com

This program is free software; you can redistribute it and/or modify it under the terms of the Lesser GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the Lesser GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Definition in file usb_moded-sigpipe.c.

Function Documentation

◆ sigpipe_init()

bool sigpipe_init ( void )

Initialize signal trapping

Returns
true on success, or false in case of errors

Definition at line 205 of file usb_moded-sigpipe.c.