aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.h
diff options
context:
space:
mode:
authorGravatar Yannis Chatzimichos <feedward@gmail.com>2013-02-18 08:03:00 +0200
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-02-20 18:07:38 -0800
commitb9ba227733ed5beb1a343035ad0d5602864328cf (patch)
tree6493b9c5fb5e498fd37936f96aabcc9de2d59d64 /common.h
parentf7754a29272ccb8e00d8a03a6f9cffea9c8ce193 (diff)
Clean up comments and fix spelling errors
Diffstat (limited to 'common.h')
-rw-r--r--common.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/common.h b/common.h
index 393a2dad..080ff429 100644
--- a/common.h
+++ b/common.h
@@ -125,8 +125,8 @@ extern const wchar_t *program_name;
/**
This macro is used to check that an input argument is not null. It
is a bit lika a non-fatal form of assert. Instead of exit-ing on
- failiure, the current function is ended at once. The second
- parameter is the return value of the current function on failiure.
+ failure, the current function is ended at once. The second
+ parameter is the return value of the current function on failure.
*/
#define CHECK( arg, retval ) \
if (!(arg)) \
@@ -203,7 +203,7 @@ void show_stackframe();
/**
Read a line from the stream f into the string. Returns
- the number of bytes read or -1 on failiure.
+ the number of bytes read or -1 on failure.
If the carriage return character is encountered, it is
ignored. fgetws() considers the line to end if reading the file
@@ -621,13 +621,13 @@ __sentinel bool contains_internal(const wcstring &needle, ...);
long read_blocked(int fd, void *buf, size_t count);
/**
- Loop a write request while failiure is non-critical. Return -1 and set errno
+ Loop a write request while failure is non-critical. Return -1 and set errno
in case of critical error.
*/
ssize_t write_loop(int fd, const char *buff, size_t count);
/**
- Loop a read request while failiure is non-critical. Return -1 and set errno
+ Loop a read request while failure is non-critical. Return -1 and set errno
in case of critical error.
*/
ssize_t read_loop(int fd, void *buff, size_t count);