diff options
author | delphij <delphij@FreeBSD.org> | 2009-01-26 07:31:28 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2009-01-26 07:31:28 +0000 |
commit | 26e902404433f160c478b20ca2adbe5761d8433b (patch) | |
tree | 796348e6a25650836b7043752d6c51b263950dff /lib/libc/string | |
parent | bd35a423120242bb30c1a09165473b79d1a9143d (diff) | |
download | FreeBSD-src-26e902404433f160c478b20ca2adbe5761d8433b.zip FreeBSD-src-26e902404433f160c478b20ca2adbe5761d8433b.tar.gz |
- Fix grammar. [1]
- Use the correct term 'long mode'. [2]
- style(9) for return value. [3]
Submitted by: Ben Kaduk <minimarmot gmail com> [1],
obrien [2], scf [3]
Diffstat (limited to 'lib/libc/string')
-rw-r--r-- | lib/libc/string/strlen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/string/strlen.c b/lib/libc/string/strlen.c index b6e94b9..860a988 100644 --- a/lib/libc/string/strlen.c +++ b/lib/libc/string/strlen.c @@ -50,8 +50,8 @@ __FBSDID("$FreeBSD$"); * * ((x - 0x01....01) & 0x80....80) * - * This is more than 5.2 times as compared to the raw implementation - * on Intel T7300 under EM64T mode for strings longer than word length. + * This is more than 5.2 times as fast as the raw implementation on + * Intel T7300 under long mode for strings longer than word length. */ /* Magic numbers for the algorithm */ @@ -105,6 +105,6 @@ strlen(const char *str) } /* NOTREACHED */ - return 0; + return (0); } |