euc.c (1574) | euc.c (11695) |
---|---|
1/*- 2 * Copyright (c) 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Paul Borman at Krystal Technologies. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 */ 36 | 1/*- 2 * Copyright (c) 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Paul Borman at Krystal Technologies. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 */ 36 |
37#ifdef XPG4 |
|
37#if defined(LIBC_SCCS) && !defined(lint) 38static char sccsid[] = "@(#)euc.c 8.1 (Berkeley) 6/4/93"; 39#endif /* LIBC_SCCS and not lint */ 40 41#include <sys/types.h> 42 43#include <errno.h> 44#include <rune.h> --- 168 unchanged lines hidden (view full) --- 213 goto CodeSet1; /* Bletch */ 214 while (i-- > 0) 215 *string++ = (nm >> (i << 3)) & 0xff; 216 if (result) 217 *result = string; 218 } 219 return (len); 220} | 38#if defined(LIBC_SCCS) && !defined(lint) 39static char sccsid[] = "@(#)euc.c 8.1 (Berkeley) 6/4/93"; 40#endif /* LIBC_SCCS and not lint */ 41 42#include <sys/types.h> 43 44#include <errno.h> 45#include <rune.h> --- 168 unchanged lines hidden (view full) --- 214 goto CodeSet1; /* Bletch */ 215 while (i-- > 0) 216 *string++ = (nm >> (i << 3)) & 0xff; 217 if (result) 218 *result = string; 219 } 220 return (len); 221} |
222#endif /* XPG4 */ |
|