Add support for sethostname

This commit is contained in:
Gregory Nutt
2015-07-05 08:39:13 -06:00
parent 6576672e09
commit e1c306f2dd
3 changed files with 65 additions and 2 deletions
+2 -1
View File
@@ -194,7 +194,8 @@ int *getoptindp(void); /* Index into argv */
int *getoptoptp(void); /* unrecognized option character */
#ifdef CONFIG_NET
int gethostname(char *name, size_t size);
int gethostname(FAR char *name, size_t size);
int sethostname(FAR const char *name, size_t size);
#endif
#undef EXTERN