debian man page for um_attach

Query: um_attach

OS: debian

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

/*   This is part of um-ViewOS
 *    The  user-mode implementation of OSVIEW -- A Process with a
View
 *
 *   um_attach user command
 *
 *   Copyright 2008 Renzo Davoli University of Bologna - Italy
 *
 *   This program is  free  software;  you  can  redistribute  it
and/or modify
 *    it  under the terms of the GNU General Public License, ver-
sion 2, as
 *   published by the Free Software Foundation.
 *
 *   This program is distributed in the hope that it will be use-
ful,
 *    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  Foun-
dation, Inc.,
 *   51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA.
 *
 *   $Id: um_add_service.c 362 2007-06-08 14:31:54Z rd235 $
 *
 */  #include  <config.h>  #include <stdio.h> #include <stdlib.h>
#include <unistd.h> #include <getopt.h> #include <config.h>  #in-
clude <;um_lib.h>

void usage() {	       fprintf(stderr, "Usage:um_attach pid0); }

int  main(int  argc,  char  *argv[])  { 	 if (argc != 2) {
		usage();		 return 1;	   } else
{		     if    (um_attach(atoi(argv[1]))   <   0)	{
			perror("um_attach");
			return	      -1;			}
		else			     return 0;		}
}
Related Man Pages
parse::debianchangelog::changesfilters(3pm) - linux
ldm(1) - debian
ssh2rpd(1) - debian
tv_validate_grabber(1p) - debian
b::debug5.18(3pm) - mojave
Similar Topics in the Unix Linux Community
Mailx Maximum attachment size