Add environment variable function

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@294 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2007-06-30 19:39:17 +00:00
parent 0466636a01
commit 475e731751
12 changed files with 860 additions and 3 deletions
+1 -1
View File
@@ -154,7 +154,7 @@ struct environ_s
unsigned int ev_crefs; /* Reference count used when environment
* is shared by threads */
size_t ev_alloc; /* Number of bytes allocated in environment */
ubyte ev_env[1]; /* Environment strings */
char ev_env[1]; /* Environment strings */
};
typedef struct environ_s environ_t;
# define SIZEOF_ENVIRON_T(alloc) (sizeof(environ_t) + alloc - 1)