From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id F2ED2385828E; Wed, 15 Mar 2023 21:11:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F2ED2385828E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1678914661; bh=bs5nCRycIRcdd0nKdY1BR9TCfp+UDaDTQfpMC9hOyis=; h=From:To:Subject:Date:From; b=AsoVJH6Z4KOgTnA/6hwIxX6sqXgOCnTCE38+zF+KAlJUfoDQjkp17WjneJJNjFKo8 JH7D8dhErdCwhXld5K+eris7zsF057Tq3Iv40+GG09bCtr51+pf/Cw3PK0Ap3pJbrj cKqBoFl/pDLARrR/9skFBGnQVkcYkoKsQOJ4U9Sc= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Corinna Vinschen To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin/main] Cygwin: kill(1): Add -L to documentation X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/main X-Git-Oldrev: 915c6eb0266bf1e1b2b1a1c0a1f075ef6c364537 X-Git-Newrev: 2a4dd6a2399905e2b1b6ba7439ded919f4909a02 Message-Id: <20230315211101.F2ED2385828E@sourceware.org> Date: Wed, 15 Mar 2023 21:11:01 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D2a4dd6a2399= 905e2b1b6ba7439ded919f4909a02 commit 2a4dd6a2399905e2b1b6ba7439ded919f4909a02 Author: Corinna Vinschen AuthorDate: Wed Mar 15 22:05:44 2023 +0100 Commit: Corinna Vinschen CommitDate: Wed Mar 15 22:08:04 2023 +0100 Cygwin: kill(1): Add -L to documentation =20 Signed-off-by: Corinna Vinschen Diff: --- winsup/doc/utils.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/winsup/doc/utils.xml b/winsup/doc/utils.xml index 1e15a4d56895..522df85b4ec5 100644 --- a/winsup/doc/utils.xml +++ b/winsup/doc/utils.xml @@ -969,8 +969,10 @@ file gmon.out.21900.zstd.exe, gmon version 0x51879, sa= mple rate 100 kill - -l - signal + + -l signal + -L + kill @@ -987,6 +989,7 @@ file gmon.out.21900.zstd.exe, gmon version 0x51879, sam= ple rate 100 -f, --force force, using win32 interface if necessary -l, --list print a list of signal names + -L, --table print a formatted table of signal names -s, --signal send signal (use kill --list for a list) -W, --winpid specified pids are windows PIDs, not Cygwin PIDs (use with extreme caution!) @@ -1030,6 +1033,9 @@ $ /bin/kill --version The kill -l option prints the name of the giv= en signal, or a list of all signal names if no signal is given. =20 + The kill -L option is similar to -l<= /literal>, + but it will print signal names and their corresponding numbers. + To send a specific signal, use the -signN opt= ion, either with a signal number or a signal name (minus the "SIG" part),= as shown in these examples: