[Git][cmucl/cmucl][master] Add docstring for unix:unix-uname
Raymond Toy (@rtoy)
gitlab at common-lisp.net
Wed Aug 24 04:39:24 UTC 2022
Raymond Toy pushed to branch master at cmucl / cmucl
Commits:
8b9a14fc by Raymond Toy at 2022-08-23T21:39:02-07:00
Add docstring for unix:unix-uname
Update pot file too since the docstring changed.
No functional changes.
- - - - -
2 changed files:
- src/code/unix.lisp
- src/i18n/locale/cmucl-unix.pot
Changes:
=====================================
src/code/unix.lisp
=====================================
@@ -2726,6 +2726,14 @@
(domainname (array char 65))))
(defun unix-uname ()
+ _N"Unix-uname returns information from the uname(2) system call.
+ The return values are
+
+ Name of the operating system
+ Name of this node within some implementation-defined network, if any
+ Release level of this operating system
+ Version level of this operating system release
+ Name of the hardware type on which the system is running"
(with-alien ((names (struct utsname)))
(syscall* (#-(or freebsd (and x86 solaris)) "uname"
#+(and x86 solaris) "nuname" ; See /usr/include/sys/utsname.h
=====================================
src/i18n/locale/cmucl-unix.pot
=====================================
@@ -1365,6 +1365,18 @@ msgid ""
" and its children."
msgstr ""
+#: src/code/unix.lisp
+msgid ""
+"Unix-uname returns information from the uname(2) system call.\n"
+" The return values are\n"
+"\n"
+" Name of the operating system\n"
+" Name of this node within some implementation-defined network, if any\n"
+" Release level of this operating system\n"
+" Version level of this operating system release\n"
+" Name of the hardware type on which the system is running"
+msgstr ""
+
#: src/code/unix.lisp
msgid ""
"Get the value of the environment variable named Name. If no such\n"
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/8b9a14fc3a2c684a538e68af86b3ea970de4261b
--
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/8b9a14fc3a2c684a538e68af86b3ea970de4261b
You're receiving this email because of your account on gitlab.common-lisp.net.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cmucl-cvs/attachments/20220824/c7a58c45/attachment-0001.html>
More information about the cmucl-cvs
mailing list