Gregory Nutt
5073bf1de6
Update some comments
2016-06-13 07:02:45 -06:00
Gregory Nutt
4f97f15b5e
graphics/, libc/: Change some err() ERRORS to warn() WARNINGS or info()
2016-06-12 11:11:57 -06:00
Gregory Nutt
b1eb4fdd8e
Rethink some recent warning removal logic
2016-06-12 07:17:04 -06:00
Gregory Nutt
cffef35644
Eliminate some warnings introduced with DEBUG changes
2016-06-11 18:09:39 -06:00
Gregory Nutt
a1469a3e95
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
2016-06-11 15:50:49 -06:00
Gregory Nutt
e99301d7c2
Rename *lldbg to *llerr
2016-06-11 14:55:27 -06:00
Gregory Nutt
86b79b33cf
Reserver the name 'err' for other purposes
2016-06-11 14:40:07 -06:00
Gregory Nutt
1cdc746726
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
2016-06-11 14:14:08 -06:00
Gregory Nutt
a3bb764305
Add support for a warn() marco that will be between dbg() and info() in priority
2016-06-11 12:38:37 -06:00
Gregory Nutt
fc3540cffe
Replace all occurrences of vdbg with vinfo
2016-06-11 11:59:51 -06:00
Gregory Nutt
3a74a438d9
Rename CONFIG_DEBUG_VERBOSE to CONFIG_DEBUG_INFO
2016-06-11 11:50:18 -06:00
Paul A. Patience
5cfffbfa62
crc64: fix error
2016-06-10 12:30:45 -04:00
Paul A. Patience
9587c551ad
libc/misc: add crc64
2016-06-10 11:03:50 -04:00
Paul A. Patience
fdbbe8dc9a
crc16: fix error
2016-06-10 09:13:43 -04:00
Gregory Nutt
4f81a60ef6
Add a NAN test on 'x' in asin function of lib_asin.c. Suggested by Pierre-noel Bouteville.
2016-05-31 06:31:04 -06:00
Gregory Nutt
5ef3e3e215
Replace confusing references to uIP with just 'the network'
2016-05-30 11:52:07 -06:00
Paul A. Patience
f8f7b7582c
Silence some warnings
2016-05-26 14:06:13 -04:00
Gregory Nutt
ca04284750
Remove comment blocks for empty file sections
2016-05-18 13:00:36 -06:00
Gregory Nutt
4e71c4c9ef
Correct some typos in comments
2016-05-18 12:49:07 -06:00
Gregory Nutt
b9c2b92b10
Add utilities to count the number of nodes in a queue
2016-04-23 13:25:46 -06:00
Alan Carvalho de Assis
7f5339ee5a
drivers/sensors/h1750fvi.c: Add a character driver for Rohm Ambient Light Sensor BH1750FVI.
2016-04-15 08:16:16 -06:00
Gregory Nutt
9008308b64
Remove some block comments before empty code sections
2016-04-11 18:16:04 -06:00
Gregory Nutt
2e49111a17
Fix an error in a DEBUG assertion
2016-04-11 09:07:23 -06:00
Gregory Nutt
6653c5cbf3
Signals: Correct implementation of sigset(). It is not just signal() with a different name; it has some additional signal mask handling functionality
2016-04-11 09:04:54 -06:00
Gregory Nutt
28a4ca6713
libc/signal and include/signal.h: Rename sigset() to signal(). sigset() is the System V function; signal() is the obsoleted POSIX name. These seem to be equivalent. Neither are relevant in modern POSIX programming but the name signal() probably has better credentials. sigset() is now relegated to a #define in signal.h that makes it equivalent to signal().
2016-04-10 14:35:45 -06:00
Kha Vo
bb09dc30a4
sigset: Fix an IAR compilation problem
2016-04-03 13:58:49 -06:00
Kha Vo
51facd904d
bsearch: Fix an IAR compilation problem
2016-04-03 13:56:59 -06:00
Gregory Nutt
53a721cdd7
Fix a cloned error in both sq_cat() and dq_cat()
2016-03-23 14:48:50 -06:00
Gregory Nutt
4a962a36dd
Add library functions to concatenate and move lists. Add scheduler function to merge prioritized function to merge prioritized lists (not yet used).
2016-03-23 08:00:58 -06:00
Gregory Nutt
24468128de
TLS: Simplify
2016-03-11 07:17:32 -06:00
Gregory Nutt
6af9b23df5
libc/netdb: Fix some compile issues when IPv6 is enabled
2016-02-25 13:59:42 -06:00
Gregory Nutt
0fb035f76b
Standardize some naming in code section comments
2016-02-21 18:09:04 -06:00
Gregory Nutt
143d287f11
Fix some missing header file inclusions and a misplaced semi-colon from recent commits
2016-02-21 11:27:55 -06:00
Gregory Nutt
f3356fee5b
SMP: Add macros to CPU set manipulation to sched.h
2016-02-20 18:45:07 -06:00
Gregory Nutt
883a1adfe2
Implement sched_setaffinity() and sched_getaffinity()
2016-02-19 19:18:54 -06:00
Gregory Nutt
28d138c584
Add files that I forgot to add in the last commit
2016-02-19 17:58:47 -06:00
Gregory Nutt
a633353ec3
Add a CPU affinity set to the TCB if SMP is enable and use this CPU set as a mask for determining which CPUs the thread may run on. Add an affinity field to the attrributes to permit controlling which CPUs a pthread may run on. Implements pthread_att_setaffinity_np() and pthread_attr_getaffinity_np().
2016-02-19 17:33:35 -06:00
Gregory Nutt
384e51cb05
Add some additional schedule instrumentation
2016-02-16 15:21:45 -06:00
Gregory Nutt
046e39e2c6
nuttx/mm and libc: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section()
2016-02-14 08:57:01 -06:00
Gregory Nutt
68ee9bcaed
Refresh modules + plus minor clean-up from previous commits
2016-02-08 15:13:14 -06:00
Gregory Nutt
8a9fa634bf
syslog: If syslog timestamping is enabled, don't try to get the time if the timer hardware has not yet been initialized.
2016-02-05 08:36:43 -06:00
Gregory Nutt
eac271413f
Add more 32-bit math operations; Update ChangeLog
2016-01-25 11:19:25 -06:00
Gregory Nutt
047ed9e543
Add some utilities to support 64-bit math operations on platforms that do not support long long types. Not yet used anywhere
2016-01-25 09:56:00 -06:00
=?UTF-8?B?6ZmI5p6X6aOe?=
0e3cd129ae
Fix some issues with strcasecmp() conditional compilation and with memccpy() return value
2016-01-24 12:54:32 -06:00
=?UTF-8?Q?Manuel_St=c3=bchn?=
2bacc40350
Fix mismatched prototype error in work_queue()
2016-01-24 12:48:24 -06:00
Gregory Nutt
9ece46e917
Costmetic update
2016-01-23 11:18:39 -06:00
Gregory Nutt
f348e68069
Update to use 64-bit timer when available
2016-01-21 11:54:26 -06:00
Gregory Nutt
a60a822ef2
Separate TEA encryption and decryption to separate files
2016-01-19 16:46:25 -06:00
Gregory Nutt
f849116a0b
Add implementatino of Tiny Encryption Algorithm
2016-01-19 16:37:45 -06:00
Gregory Nutt
2a5c7e9a92
resolv.conf: Add support for OpenBSD style resolv.conf syntax where a non-standard DNS server port can be specified using a backet syntax.
2016-01-14 17:55:53 -06:00
Gregory Nutt
300d34f029
netdb: resolv.conf logic is functional
2016-01-14 15:12:42 -06:00
Gregory Nutt
1a8531c951
netdb: Extend dns_query so that it can handle multiple nameserver addresses
2016-01-14 14:18:19 -06:00
Gregory Nutt
9097425203
netdb: Separate lib_dnsclient.c into lib_dnsbind.c and lib_dnsquery.c
2016-01-14 10:30:47 -06:00
Gregory Nutt
62f04d98c1
netdb: Move DNS initialization and cache logic to separate files
2016-01-14 10:17:15 -06:00
Gregory Nutt
0889963b50
resolv.conf: Fix some basic compilation issues. Logic still not complete.
2016-01-14 08:32:20 -06:00
Gregory Nutt
a7acb45ca6
Add logic misssing from dns_add_server
2016-01-13 16:29:50 -06:00
Gregory Nutt
b112d8fddc
DNS: A little more resolv.conf logic. Still not complete.
2016-01-13 16:02:23 -06:00
Gregory Nutt
8e9f884eb7
Step 1 in /etc/resolv.conf support
2016-01-13 15:06:44 -06:00
Gregory Nutt
1608b7c33f
Some networking logic was used helpers from apps/netutils. Not good. Quick fix is to duplicate logic
2016-01-09 15:56:08 -06:00
Dimitry Kloper
06d83c6261
Introduce support for Atmel toolchain in-flash strings
...
Atmel toolchain AVR compiler provides a transparent in-flash object support using __flash and __memx symbols. The former indicates to compiler that this is a flash-based object. The later used with pointer indicates that the referenced object may reside either in flash or in RAM. The compiler automatically makes 32-bit pointer with flag indicating whether referenced object is in flash or RAM and generates code to access either in run-time. Thus, any function that accepts __memx object can transparently work with RAM and flash objects.
For platforms with a Harvard architecture and a very small RAM like AVR this allows to move all constant strings used in trace messages to flash in the instruction address space, releasing resources for other things.
This change introduces IOBJ and IPTR type qualifiers. The 'I' indicates that the object may like in instruction space on a Harvard architecture machine.
For platforms that do not have __flash and __memx or similar symbols IOBJ and IPTR are empty, making the types equivalent to, for example, 'const char' and 'const char*'. For Atmel compiler these will become 'const __flash char' and 'const __memx char*'. All printf() functions and syslog() functions are changed so that the qualifier is used with the format parameter.
From: Dimitry Kloper <dikloper@cisco.com>
2016-01-05 10:29:29 -06:00
Chris Croswhite
b73a7515b6
Small compilation issue when selecting localtime, this patch adds the correct ifdef.
2015-12-30 19:12:42 -06:00
Gregory Nutt
c1fff4706c
signals: Adds a very limited, minimal implementation for SIGEV_THREAD
2015-12-30 15:01:14 -06:00
Gregory Nutt
9835eeb181
signals: Basic framework to support SIGEV_THREAD
2015-12-30 13:20:31 -06:00
Gregory Nutt
b682190f52
Rename all head files in main NuttX repository with names like *internal.h, removing the internal
2015-12-29 17:31:17 -06:00
Gregory Nutt
e8d0f85c8b
Modules: Add mod_setsymtab to set global symtol table once. Now we can remove symbol table parameters from the insmod call. This will make implementing an NSH insmod command much easier
2015-12-13 08:10:01 -06:00
Gregory Nutt
e5f27f5865
Fix some conditional compilation. CONFIG_LIBC_LOCALTIME should be checked in most of the same places wehre CONFIG_TIME_EXTENDED is checked
2015-11-25 12:51:45 -06:00
Gregory Nutt
064ef4f1fb
At day-of-week support to strftime()
2015-11-25 11:51:46 -06:00
Gregory Nutt
006528b144
Add support for freopen()
2015-11-22 08:39:17 -06:00
Paul A. Patience
bfc95c641f
stdlib: Fix forgotten FARs
2015-11-18 14:22:43 -05:00
Gregory Nutt
e9bd8bceb4
nuttx/libc: Fix some spacing and alignment issues
2015-10-12 07:45:02 -06:00
Gregory Nutt
bb05de4b6e
Remove TABs
2015-10-04 16:01:21 -06:00
Gregory Nutt
af086c40ff
Remove dangling whitespace
2015-10-04 15:28:54 -06:00
Gregory Nutt
0b12dbf95d
Fix some spacing problems
2015-10-04 15:04:00 -06:00
Gregory Nutt
16b32bbadd
Standardize the width of all comment boxes in C files
2015-10-03 07:25:53 -06:00
Gregory Nutt
5b51a9fcdd
Standardize the width of all comment boxes in C files
2015-10-02 17:43:18 -06:00
Gregory Nutt
cb9e27c3b0
Standardize naming used for public data and function groupings
2015-10-02 16:30:35 -06:00
Gregory Nutt
38e6142ae8
Make coding style more conformant, take description from OpenGroup.org, rename formal parameters to match names used on OpenGroup.org
2015-10-02 12:58:40 -06:00
Gregory Nutt
2ba224eca2
Add support for bsearch() in C library
2015-10-02 12:33:58 -06:00
Gregory Nutt
a813baef0a
User workqueue, cosmetic changes
2015-09-30 14:03:55 -06:00
Gregory Nutt
4cd57e1e4e
Work queues: Logic that sets the queued indication and the logic that does the actual queuing must be atomic
2015-09-30 11:04:29 -06:00
Stefan Kolb
983128e16a
sscanf: Formats a, A, e, E, g, and G should be treated the same as f and F
2015-09-17 07:41:33 -06:00
Paul A. Patience
9f108b7b63
Fix issues detected by clang
2015-09-10 20:59:43 -04:00
Gregory Nutt
d0e4df9931
Update ChangeLog
2015-09-10 07:24:58 -06:00
Gregory Nutt
5058ed3ef4
Only build shutdown if CONFIG_NET=y. The warning is pretty annoying
2015-09-09 12:14:04 -06:00
Gregory Nutt
8a87e3ca6e
Add an empty function that can serve as a placeholder for the network shutdown() function
2015-09-09 07:03:05 -06:00
Gregory Nutt
bc46130c70
Rename libc/stdio/lib_avsprintf.c to lib_vasprintf.c
2015-09-07 13:28:00 -06:00
Sebastien Lorquet
77e4e7b231
Change all references from avsprintf to vasprintf. From Sebastien Lorquet
2015-09-07 13:22:13 -06:00
Gregory Nutt
9c66bde5b0
Fix typo in pre-processor command noted by Pierre-noel Bouteville. Also move # of pre-processior command to column 1
2015-09-05 09:10:48 -06:00
OrbitalFox
381c587770
Fix typo but should be buf. From OrbitalFox
2015-09-03 07:35:32 -06:00
Gregory Nutt
168e9d3ddb
Merged in paulpatience/nuttx (pull request #23 )
...
Correct #if to #ifdef when the macro can be undefined. Fix bug in AT24XX driver: it should compare AT24XX_ADDRSIZE to 2.
2015-09-01 12:28:35 -06:00
Paul A. Patience
3b89eabd50
Correct #if to #ifdef when the macro can be undefined. Fix bug in AT24XX driver: it should compare AT24XX_ADDRSIZE to 2.
2015-09-01 13:52:29 -04:00
Stefan Kolb
5ac6de118e
libc/math/lib_asin.c: The function did not convert for some input values. Asin did not convert for values which do not belong to the domain of the function. But aside of that the function also did not convert for sine allowed values. I achieved a conversion of the function by reducing the DBL_EPSION and by checking if the input value is in the domain of the function. This is a fix for the problem but the function should always terminate after a given number of iterations. From Stefan Kolb.
2015-09-01 08:45:14 -06:00
Gregory Nutt
6158086dd4
Update some comments
2015-08-24 15:41:45 -06:00
Gregory Nutt
933d74e5c1
Networking: With these changes, I can ping the local loopback device from the simulator
2015-08-24 13:49:12 -06:00
Gregory Nutt
0b012c7978
Fix some initial loop back device compilation errors; mark configuration as EXPERIMENTAL
2015-08-24 11:29:54 -06:00
Gregory Nutt
07bdff9ef7
Networking: Add NetDB support for the local loopback device
2015-08-24 10:08:26 -06:00
Gregory Nutt
6fc449f689
Moving canned_symtab from nuttx/libc to apps/system
2015-08-23 11:33:29 -06:00
Alan Carvalho de Assis
9b036311c0
Missing comma in spi.h header file
2015-08-23 11:06:32 -06:00
Gregory Nutt
4723ff5563
Update README
2015-08-23 10:46:11 -06:00
Gregory Nutt
f12692b78f
Extend canned symbol table logic to work in protected build mode
2015-08-23 10:44:04 -06:00
Pavel Pisa
9ab3f03153
Define some symbol export conditions, correct errno and add sleep and usleep. From Pavel Pisa
2015-08-23 09:05:40 -06:00
Pavel Pisa
81a257eeb0
Optional canned symtab inclusion to the build. When option CONFIG_LIBC_SYMTAB is selected and symbol table file libc/symtab/canned_symtab.inc is prepared then application can use system provided complete symbol table. The option has substantial effect on system image size. Mainly code/text. If loading of applications at runtime is not planned do not select this. From Pavel Pisa.
2015-08-23 08:38:58 -06:00
Pavel Pisa
23035ca68d
[PATCH] gethostbyname(): correct returned address format when DNS is used. The hostent.h_addr_list should point to raw in_addr or in6_addr as defined in the standard. Original implementation used that
...
for numeric addresses but for DNS lookup returned pointer to whole sockaddr_in or sockaddr_in6.
getaddrinfo() should be preferred in a long term perspective. Return of complete addresses from the lookup would be better in such case but it requires significant changes anyway - multiple addresses support and most probably dynamic memory allocation which is bad for many RT applications. So gethostbyname() is sufficient for most applications now.
Signed-off-by: Pavel Pisa <ppisa@pikron.com>
2015-08-21 18:33:03 -06:00
Gregory Nutt
51f386d08a
Fix more common typos
2015-08-16 11:07:23 -06:00
Gregory Nutt
eb19e0c0e2
Add two files that I forgot in a previous commit
2015-08-14 10:12:04 -06:00
Gregory Nutt
6df94096ca
Add ldiv() and lldiv() too
2015-08-14 08:45:59 -06:00
Stavros Polymenis
301f215638
Add support for div() to the C library. From OrbitalFox
2015-08-14 08:35:01 -06:00
Gregory Nutt
5772813d29
Change the name of the local variable sigset to set to prevent name collisions with the function of the same name
2015-07-31 13:32:10 -06:00
Librae
dce921c1cd
Check if DNS server has been initialized before trying to lookup the server address in the cache. From Librae
2015-07-27 14:16:45 -06:00
Gregory Nutt
c6c424583d
Fix a test for valid scheduling policies
2015-07-24 10:20:22 -06:00
Gregory Nutt
5baa738019
Most cosmetic, but includes some fixes to some range checking
2015-07-23 14:36:49 -06:00
Gregory Nutt
9095e8eab4
include/, sched/, and libc/: Add support for sporadic scheduling parameters in struct sched_param, posix_spawnattr_t, and pthread_attr_t. Update all user interfaces to pass sporadic scheduling parameters. Feature is dependent on EXPERIMENTAL and no changes have yet been made to core scheduling logic.
2015-07-23 13:16:32 -06:00
Gregory Nutt
ab37a759d8
Eliminate a warning detected by nuttx/tools/testbuild.sh
2015-07-22 14:11:25 -06:00
Gregory Nutt
ccd3ec0f52
STM32 F7 Ethernet: Add logic to align all DMA memory to the D-Cache line size
2015-07-19 16:35:25 -06:00
Gregory Nutt
8b9cafe70a
Another FIX for gethostbyname if CONFIG_NETDB_DNSCLIENT is not defined
2015-07-19 14:45:34 -06:00
Gregory Nutt
a314561474
STM32F746G-DISCO: Getting closer to a build
2015-07-17 11:47:16 -06:00
Sebastien Lorquet
b5016f3a7f
gethostbyname() and gethostbyname_r() should be built even if there is no host file support. From Sebastien Lorquet
2015-07-17 09:43:28 -06:00
Sebastien Lorquet
4eec7041fc
Move definition of h_errno from lib_parsehostfile.c to lib_netdb. h_errno should still be defined even if there is no host file support. From Sebastien Lorquet.
2015-07-17 09:39:45 -06:00
Gregory Nutt
2a2e9fa56a
gethostbyname_r: Fix test of return value from inet_pton(). Zero does not mean success
2015-07-17 08:24:21 -06:00
Gregory Nutt
95424d9ef3
NETDB: Add support for caching DNS name resultion mappings
2015-07-13 10:41:32 -06:00
Gregory Nutt
fcaac468b1
NETDB: Make sure that we have a valid DNS server address before attempting DNS queuries; Provide an optional default DNS server address in the configuration
2015-07-13 08:19:31 -06:00
Gregory Nutt
9a6cf5724e
DNS: Finish off low-level DNS IPv6 request processing. Untested on initial commit
2015-07-12 16:23:08 -06:00
Gregory Nutt
835878b003
This completes all interface level support for IPv6 DNS. Still some missing logic at the lowest protocol levels
2015-07-12 13:45:52 -06:00
Gregory Nutt
3407ef5f33
netdb: Modifications to DNS client logic and to dns_get/setserver() interfaces to support DNS clients at IPv6 addresses (still no support for resolution to IPv6 addresses).
2015-07-12 11:56:53 -06:00
Gregory Nutt
95ae3ef23f
Oops. Forgot to add a file in a previous commit
2015-07-12 09:28:03 -06:00
Gregory Nutt
5ace3311d9
Repartitioning of DNS client logic in preparation for IPv6 support
...
- Rename include/nuttx/net/dnsclient.h to dns.h
- Move internal DNS prototypes from dns.h to libc/netdb/lib_dns.h
- Global standard DNS definitions from libc/netdb/dns_soccket.c to dns.h
- Eliminate dns_gethostip(). This is now an internal part of gethostbyname()
- Eliminate interface dns_whois(). Not needed in this new context.
2015-07-12 09:19:40 -06:00
Gregory Nutt
e243b082ee
DNS: Remove some unused, non-functional DNS functions; remove the annoying _sock at the end of some DNS functions names, it is no longer needed to distinguish the functions
2015-07-11 07:17:00 -06:00
Gregory Nutt
ed004be6d0
Clean up some syscall logic that has changed due to revised netdb configuration
2015-07-10 15:41:20 -06:00
Gregory Nutt
89e91333af
Fix a warning
2015-07-10 14:53:30 -06:00
Gregory Nutt
23d8ab0fb1
Fix some mangled conditional compilation
2015-07-10 14:10:53 -06:00
Gregory Nutt
dc478617e5
Remove bogus references to CONFIG_HAVE_GETHOSTBYNAME
2015-07-10 14:03:03 -06:00
Gregory Nutt
7dec298ef3
gethostbyname() will not attempt a DNS lookup if so enabled
2015-07-10 13:30:09 -06:00
Gregory Nutt
4102470bdd
Move the DNS server from apps/netutils/dnsclient to nuttx/libc/netdb. Move netdb functions from libc/net to libc/netdb. Fix up naming to reflect the repartitioning
2015-07-10 12:11:40 -06:00
Gregory Nutt
2be9bfa40a
gethostbyname() should succeed for matches on host name aliases as well
2015-07-09 09:14:42 -06:00
Gregory Nutt
434eeefe52
inet_pton and ntop need to support IPv4 and IPv6 addressing unconditionally for the netdb logic
2015-07-08 16:45:42 -06:00
Gregory Nutt
d58d668f86
Fix an addressing problem in host file read logic
2015-07-08 16:25:16 -06:00
Gregory Nutt
1cd4ef1730
Fix an assertion
2015-07-08 16:00:50 -06:00
Gregory Nutt
299782e8ec
Add support for gethostbyaddr()
2015-07-08 14:33:23 -06:00
Gregory Nutt
72701d753b
Remove some whitespace at the end of lines
2015-07-08 13:42:36 -06:00
Gregory Nutt
1b1e34e1d5
libc: Add gethostbyname(). Untested on initial commit
2015-07-08 13:40:52 -06:00
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
6380832ab7
Move the header of set/sethostname from libc/unisted to net/netdb. This is OS internal stuff
2015-07-05 10:43:37 -06:00
Gregory Nutt
5f2a181599
Add conditional definition for MIN macro needed in last commit
2015-07-05 09:08:45 -06:00
Gregory Nutt
fc5281e2a1
get/sethostname: Add a critical section. There is a microscopic possibily that the global name could change while being accessed by a thread
2015-07-05 08:50:51 -06:00
Gregory Nutt
e1c306f2dd
Add support for sethostname
2015-07-05 08:42:32 -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
Gregory Nutt
bd69415963
Fix a typo
2015-07-03 07:52:57 -06:00
Stavros Polymenis
701509f9bd
Add implementations of uname() and gethost(). From Stavros Polymenis.
2015-07-03 07:50:27 -06:00