[rtems-central commit] spec: Add interface group for C and POSIX

Sebastian Huber sebh at rtems.org
Fri May 28 06:11:22 UTC 2021


Module:    rtems-central
Branch:    master
Commit:    9dfeb84cc58cbbfa09e4e8875eadce49fe2cc14a
Changeset: http://git.rtems.org/rtems-central/commit/?id=9dfeb84cc58cbbfa09e4e8875eadce49fe2cc14a

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri May 28 07:21:53 2021 +0200

spec: Add interface group for C and POSIX

---

 spec/c/if/clock-nanosleep.yml |  2 ++
 spec/c/if/group.yml           | 19 +++++++++++++++++++
 spec/c/if/posix-memalign.yml  |  2 ++
 3 files changed, 23 insertions(+)

diff --git a/spec/c/if/clock-nanosleep.yml b/spec/c/if/clock-nanosleep.yml
index 1cf2e37..2e32a8a 100644
--- a/spec/c/if/clock-nanosleep.yml
+++ b/spec/c/if/clock-nanosleep.yml
@@ -7,6 +7,8 @@ interface-type: unspecified-function
 links:
 - role: interface-placement
   uid: time
+- role: interface-ingroup
+  uid: group
 name: clock_nanosleep
 references:
   url: https://pubs.opengroup.org/onlinepubs/9699919799/functions/clock_nanosleep.html
diff --git a/spec/c/if/group.yml b/spec/c/if/group.yml
new file mode 100644
index 0000000..7167d90
--- /dev/null
+++ b/spec/c/if/group.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+brief: |
+  This group contains the ${/glossary/c11:/term} and ${/glossary/posix:/name}.
+  interfaces.
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+description: null
+enabled-by: true
+identifier: CStd
+index-entries: []
+interface-type: group
+links:
+- role: interface-ingroup
+  uid: /if/api
+name: C and POSIX
+text: |
+  The ${/glossary/api:/term} shall contain interfaces specified by
+  ${/glossary/c11:/term} and ${/glossary/posix:/name}.
+type: interface
diff --git a/spec/c/if/posix-memalign.yml b/spec/c/if/posix-memalign.yml
index e9de1ab..63beeab 100644
--- a/spec/c/if/posix-memalign.yml
+++ b/spec/c/if/posix-memalign.yml
@@ -7,6 +7,8 @@ interface-type: unspecified-function
 links:
 - role: interface-placement
   uid: stdlib
+- role: interface-ingroup
+  uid: group
 name: posix_memalign
 references:
   url: https://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_memalign.html



More information about the vc mailing list