OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [newlib/] [libc/] [stdlib/] [environ.c] - Blame information for rev 1773

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1010 ivang
/* Copyright (c) 1995, 1996 Cygnus Support.
2
 * All rights reserved.
3
 *
4
 * Redistribution and use in source and binary forms are permitted
5
 * provided that the above copyright notice and this paragraph are
6
 * duplicated in all such forms and that any documentation,
7
 * advertising materials, and other materials related to such
8
 * distribution and use acknowledge that the software was developed
9
 * at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
10
 * endorse or promote products derived from this software without
11
 * specific prior written permission.
12
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
13
 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
14
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
15
 */
16
 
17
/* Provide a definition of `environ' if crt0.o doesn't.  */
18
 
19
static char *initial_env[] = { 0 };
20
 
21
/* Posix says `environ' is a pointer to a null terminated list of pointers.
22
   Hence `environ' itself is never NULL.  */
23
char **environ = &initial_env[0];

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.