ppc64-diag
Macros | Functions
hotplug.c File Reference
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <sys/wait.h>
#include <librtas.h>
#include "rtas_errd.h"

Macros

#define DRMGR_PROGRAM   "/usr/sbin/drmgr"
 
#define DRMGR_PROGRAM_NOPATH   "drmgr"
 

Functions

void handle_hotplug_event (struct event *re)
 

Detailed Description

Copyright (C) 2013 IBM Corporation

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

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 GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Macro Definition Documentation

◆ DRMGR_PROGRAM

#define DRMGR_PROGRAM   "/usr/sbin/drmgr"

Referenced by handle_hotplug_event().

◆ DRMGR_PROGRAM_NOPATH

#define DRMGR_PROGRAM_NOPATH   "drmgr"

Referenced by handle_hotplug_event().

Function Documentation

◆ handle_hotplug_event()

void handle_hotplug_event ( struct event re)