Browse Source

Plan 9 from Bell Labs 2011-03-10

David du Colombier 13 years ago
parent
commit
c348f362b1
3 changed files with 6 additions and 2 deletions
  1. 1 0
      sys/include/libc.h
  2. 4 1
      sys/man/2/isalpharune
  3. 1 1
      sys/man/2/thread

+ 1 - 0
sys/include/libc.h

@@ -83,6 +83,7 @@ extern	int	islowerrune(Rune);
 extern	int	isspacerune(Rune);
 extern	int	istitlerune(Rune);
 extern	int	isupperrune(Rune);
+extern	int	isdigitrune(Rune);
 
 /*
  * malloc

+ 4 - 1
sys/man/2/isalpharune

@@ -1,6 +1,6 @@
 .TH ISALPHARUNE 2
 .SH NAME
-isalpharune, islowerrune, isspacerune, istitlerune, isupperrune, tolowerrune, totitlerune, toupperrune \- Unicode character classes and cases
+isalpharune, islowerrune, isspacerune, istitlerune, isupperrune, isdigitrune, tolowerrune, totitlerune, toupperrune \- Unicode character classes and cases
 .SH SYNOPSIS
 .B #include <u.h>
 .br
@@ -22,6 +22,9 @@ int istitlerune(Rune c)
 int isupperrune(Rune c)
 .PP
 .B
+int isdigitrune(Rune c)
+.PP
+.B
 Rune tolowerrune(Rune c)
 .PP
 .B

+ 1 - 1
sys/man/2/thread

@@ -101,7 +101,7 @@ void	threadintgrp(int group)
 void	threadkill(int id)
 int	threadkillgrp(int group)
 .XX
-void	threadsetname(char *name)
+void	threadsetname(char *name, ...)
 char*	threadgetname(void)
 .XX
 void**	threaddata(void)