aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-02-22 14:58:29 +0100
committerMattias Andrée <m@maandree.se>2026-02-22 14:58:29 +0100
commit9a986ce26fc80117c2e2c0a57fcf4209cd0e243c (patch)
treeca65251dea834a5bd45d1cac93cb598dacf165c0 /README
parentAdd missing @since (diff)
downloadlibgeome-9a986ce26fc80117c2e2c0a57fcf4209cd0e243c.tar.gz
libgeome-9a986ce26fc80117c2e2c0a57fcf4209cd0e243c.tar.bz2
libgeome-9a986ce26fc80117c2e2c0a57fcf4209cd0e243c.tar.xz
fix doc textHEADmaster
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'README')
-rw-r--r--README24
1 files changed, 12 insertions, 12 deletions
diff --git a/README b/README
index 54660f2..2b0f7a5 100644
--- a/README
+++ b/README
@@ -53,20 +53,20 @@ SYNOPSIS
int libgeome_get_from_netservice(struct libgeome_context *, struct libgeome_data *,
const struct libgeome_netservice *);
- /* less fundament features omitted */
+ /* less fundamental features omitted */
Link with -lgeome -lm.
DESCRIPTION
- libgeome is a library which provides functionally for looking up
- the local user's location on the Globe.
+ libgeome is a library which provides functionality for looking up
+ the local user's location on the globe.
To use libgeome, first create and initialise a struct libgeome_context
which will be used for all other library calls. This can easily be done
- by creating a statically allocated struct libgeome_context and call the
+ by creating a statically allocated struct libgeome_context and calling the
libgeome_basic_context(3) function with it as the first argument and
the name of the program as the second argument, optionally with
- "libgeome" added make it clear where error messages are printed from.
+ "libgeome" added to make it clear where error messages are printed from.
libgeome_get_from_file(3) can be used to check if the user has specified
his location in /etc/geolocation (use NULL as the third argument) or any
@@ -74,8 +74,8 @@ DESCRIPTION
The next best thing is to use libgeome_get_from_timezone(3) to get a
rough location based on the user's timezone. But if this doesn't work,
- libgeome_get_from_time(3) must be used, which provides only gives an
- approximate longitude based one the current timezone, which is affected
+ libgeome_get_from_time(3) must be used, which only provides an
+ approximate longitude based on the current timezone, which is affected
by daylight saving, which may be desirable for some applications but not
for other applications.
@@ -86,16 +86,16 @@ DESCRIPTION
The function libgeome_get_from_netservice(3) is used for this, and a
list of services is provided in libgeome_netservices(3), with the number
of services listed provided in libgeome_netservices_count(3). You can
- also add custom services, or run local program, using the
+ also add custom services, or run a local program, using the
libgeome_get_from_command(3) function. If it cannot parse the output,
- can reformat it as "%s %s\n", <latitude>, <longitude>.
+ you can reformat it as "%s %s\n", <latitude>, <longitude>.
- When alling a libgeome function, any struct libgeome_data must have
+ When calling a libgeome function, any struct libgeome_data must have
its .requested_data set. This lets the called function 1) know what data
to request, and 2) what fields are available in the application's
version of the structure so that it doesn't write outside it if it is
- out of date. There for it is critical that the application doesn't
- simply set all but, but instead only recognised ones.
+ out of date. Therefore it is critical that the application does not
+ simply set all bits, but instead only the recognised ones.
EXTENDED DESCRIPTION
Runtime-optional dependencies