From e1d2d7740e199d6d3a6dfc6d9884984d08b25ea7 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 15 Dec 2016 14:26:11 +0100 Subject: [PATCH] scandir.3: Minor reworking of text for example program Signed-off-by: Michael Kerrisk --- man3/scandir.3 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/man3/scandir.3 b/man3/scandir.3 index 264ecef0e..13185c5b8 100644 --- a/man3/scandir.3 +++ b/man3/scandir.3 @@ -288,8 +288,12 @@ and glibc 2.10 changed the definition of .BR versionsort ()) to match the standard. .SH EXAMPLE +The program below prints a list of the files in the current directory +in reverse order. +.\" +.SS Program source +\& .nf -/* print files in current directory in reverse order */ #define _DEFAULT_SOURCE #include #include