Gregory Nutt
|
f94fe747ae
|
Undo part of a previous change. Move get/sethostname back from net/netdb to libc/unistd
|
2015-07-08 11:11:52 -06:00 |
Gregory Nutt
|
d8d4ab8c10
|
The libc versions of get/sethostname should just call the internal net/netdb versions in the flat build. In the protected and kernel builds, sethostname is a system call but gethostname calls uname() to get the hostname
|
2015-07-05 10:45:00 -06:00 |
Gregory Nutt
|
6576672e09
|
uname: version string must hold 40 character value; strings returned by uname must always be NUL terminated
|
2015-07-05 06:46:00 -06:00 |
Gregory Nutt
|
10ec4737c2
|
Use strncpy instead of strcpy in uname()
|
2015-07-04 15:20:36 -06:00 |
Stavros Polymenis
|
701509f9bd
|
Add implementations of uname() and gethost(). From Stavros Polymenis.
|
2015-07-03 07:50:27 -06:00 |