Re: [PATCH 08/12] echo: add -e option support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "Sascha" == Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> writes:

 Sascha> Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
 Sascha> ---
 Sascha>  commands/echo.c |   52 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 Sascha>  1 files changed, 51 insertions(+), 1 deletions(-)

 Sascha> diff --git a/commands/echo.c b/commands/echo.c
 Sascha> index d5640a0..6f4f136 100644
 Sascha> --- a/commands/echo.c
 Sascha> +++ b/commands/echo.c
 Sascha> @@ -26,12 +26,59 @@
 Sascha>  #include <fcntl.h>
 Sascha>  #include <errno.h>
 
 Sascha> +static int my_fputs(int fd, const char *s)

That's not a very descriptive name - What about something like
advanced_fputs, escape_fputs or format_fputs?

-- 
Bye, Peter Korsgaard

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox

[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux