355b4669e025ff377602b6fc7caaf30dbc218371jacobs * CDDL HEADER START
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * The contents of this file are subject to the terms of the
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * Common Development and Distribution License (the "License").
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * You may not use this file except in compliance with the License.
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * See the License for the specific language governing permissions
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * and limitations under the License.
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * When distributing Covered Code, include this CDDL HEADER in each
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * If applicable, add the following below this CDDL HEADER, with the
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * fields enclosed by brackets "[]" replaced with your own identifying
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * information: Portions Copyright [yyyy] [name of copyright owner]
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * CDDL HEADER END
e059026e2da8f12ef0ebea9d686d67f32660cfc0Keerthi Kondaka * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * Use is subject to license terms.
355b4669e025ff377602b6fc7caaf30dbc218371jacobs/* $Id: lpd-misc.c 155 2006-04-26 02:34:54Z ktou $ */
355b4669e025ff377602b6fc7caaf30dbc218371jacobs#if defined(sun) && defined(unix) && defined(I_RECVFD)
355b4669e025ff377602b6fc7caaf30dbc218371jacobs msg.msg_controllen = sizeof (struct cmsghdr) + sizeof (int);
355b4669e025ff377602b6fc7caaf30dbc218371jacobslpd_open(service_t *svc, char type, char **args, int timeout)
355b4669e025ff377602b6fc7caaf30dbc218371jacobs return (-1);
10144ea86a21f583d4eec553d1a18da7544ba6dejacobs /* server */
10144ea86a21f583d4eec553d1a18da7544ba6dejacobs /* timeout */
10144ea86a21f583d4eec553d1a18da7544ba6dejacobs /* operation */
10144ea86a21f583d4eec553d1a18da7544ba6dejacobs /* queue */
e059026e2da8f12ef0ebea9d686d67f32660cfc0Keerthi Kondaka if ((tmp = strrchr(svc->uri->path, '/')) == NULL)
355b4669e025ff377602b6fc7caaf30dbc218371jacobs#if defined(sun) && defined(unix) && defined(I_RECVFD)
355b4669e025ff377602b6fc7caaf30dbc218371jacobs case 0: /* child */
355b4669e025ff377602b6fc7caaf30dbc218371jacobs default: { /* parent */