/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include <stdio.h>
#include <libintl.h>
#include <stdlib.h>
#include <errno.h>
#include <locale.h>
#include <unistd.h>
#include <strings.h>
#include <fcntl.h>
#include <stropts.h>
static char conf_header[] =
"#\n"
"# CDDL HEADER START\n"
"#\n"
"# The contents of this file are subject to the terms of the\n"
"# Common Development and Distribution License (the \"License\").\n"
"# You may not use this file except in compliance with the License.\n"
"#\n"
"# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE\n"
"# See the License for the specific language governing permissions\n"
"# and limitations under the License.\n"
"#\n"
"# When distributing Covered Code, include this CDDL HEADER in each\n"
"# file and include the License file at usr/src/OPENSOLARIS.LICENSE.\n"
"# If applicable, add the following below this CDDL HEADER, with the\n"
"# fields enclosed by brackets \"[]\" replaced with your own identifying\n"
"# information: Portions Copyright [yyyy] [name of copyright owner]\n"
"#\n"
"# CDDL HEADER END\n"
"#\n"
"#\n"
"# ident \"@(#)sdp.conf 1.1 07/01/03 SMI\"\n"
"#\n"
"# Copyright 2007 Sun Microsystems, Inc. All rights reserved.\n"
"# Use is subject to license terms.\n"
"#\n\n";
static void
usage()
{
}
int
{
int fd;
(void) textdomain(TEXT_DOMAIN);
switch (c) {
case '?':
usage();
}
}
if (argc != 2) {
usage();
}
if (fd < 0) {
exit(0);
}
if (argc == 2) {
/* Parse the on|off from the user */
enable = 1;
enable = 0;
enable = -1;
else {
usage();
}
}
if (enable == 0) {
} else {
}
}
} else {
perror("ioctl failed");
}
return (ret);
}