Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/getopt.c

    r3bacee1 r7c3fb9b  
    11/*      $NetBSD: getopt_long.c,v 1.21.4.1 2008/01/09 01:34:14 matt Exp $        */
    22
    3 /*-
     3/*
    44 * Copyright (c) 2000 The NetBSD Foundation, Inc.
    55 * All rights reserved.
     
    4141#include <str.h>
    4242
    43 /* HelenOS Port : We're incorporating only the modern getopt_long with wrappers
     43/*
     44 * HelenOS Port : We're incorporating only the modern getopt_long with wrappers
    4445 * to keep legacy getopt() usage from breaking. All references to REPLACE_GETOPT
    45  * are dropped, we just include the code */
     46 * are dropped, we just include the code
     47 */
    4648
    4749int     opterr = 1;             /* if error message should be printed */
     
    8183/* Error messages */
    8284
    83 /* HelenOS Port: Calls to warnx() were eliminated (as we have no stderr that
     85/*
     86 * HelenOS Port: Calls to warnx() were eliminated (as we have no stderr that
    8487 * may be redirected) and replaced with printf. As such, error messages now
    85  * end in a newline */
     88 * end in a newline
     89 */
    8690
    8791static const char recargchar[] = "option requires an argument -- %c\n";
Note: See TracChangeset for help on using the changeset viewer.