Prints "Hello, _dedication_!" to the terminal. If no dedication is
-
given, uses the default dedication. The default dedication is chosen by
-
the following sequence:
-
-
1. Using the environment variable *DEFAULT_HELLO_DEDICATION*
-
2. Using the per-user configuration file, *~/.hellorc*
-
3. Using the system-wide configuration file, */etc/hello.conf*
-
4. Finally, using "world".
-
-
#### Options
-
-
-h, --help
-
-
: Prints brief usage information.
+
```
+
#include <nonstd.h>
-
-o, --output
+
char *strmid(char *dest, size_t max_len, const char *s, int from, int to);
+
```
-
: Outputs the greeting to the given filename.
+
### DESCRIPTION
+
***
-
The file must be an **open(2)**able and **write(2)**able file.
+
Returns a portion of a the string **s**, specified by the **offset** and **length** parameters. The string porttion is copied into the string **dest**, up to a limit of **max_len** characters. If there is not enough room, **NULL** is returned.
-
-v, --version
-
: Prints the current version number.
-
### FILES
+
### RETURN VALUE
***
-
*~/.hellorc*
-
-
: Per-user default dedication file.
+
On success, a pointer to the string **dest** is returned, otherwise **NULL**.
-
*/etc/hello.conf*
-
: Global default dedication file.
-
-
### ENVIRONMENT
+
### NOTES
***
-
**DEFAULT_HELLO_DEDICATION**
-
-
: The default dedication if none is given. Has the highest precedence
-
if a dedication is not supplied on the command line.
+
None.
### BUGS
***
-
See GitHub Issues: <https://github.com/[owner]/[repo]/issues>
+
See GitHub Issues: <https://github.com/znac049/mega-micros-sbc3/issues>