summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-05-05 14:41:19 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-05-08 21:58:56 +0200
commit37d5987af1a81a0465913cb6b2812e5da466c7f0 (patch)
treee433b0d7bcbc335f34978eedfe0289ce5cd856b6
parentspec: Clarify BSP-provided configuration options (diff)
downloadrtems-central-37d5987af1a81a0465913cb6b2812e5da466c7f0.tar.bz2
spec: Add constraint to C interfaces
-rw-r--r--spec/c/if/atexit.yml2
-rw-r--r--spec/c/if/chmod.yml2
-rw-r--r--spec/c/if/chown.yml2
-rw-r--r--spec/c/if/exit.yml2
-rw-r--r--spec/c/if/flsl.yml2
-rw-r--r--spec/c/if/free.yml2
-rw-r--r--spec/c/if/getchar.yml2
-rw-r--r--spec/c/if/ioccom-io.yml4
-rw-r--r--spec/c/if/ioccom-ior.yml4
-rw-r--r--spec/c/if/ioccom-iow.yml4
-rw-r--r--spec/c/if/ioccom-iowr.yml4
-rw-r--r--spec/c/if/ioctl.yml2
-rw-r--r--spec/c/if/link.yml2
-rw-r--r--spec/c/if/malloc.yml2
-rw-r--r--spec/c/if/memcpy.yml2
-rw-r--r--spec/c/if/memset.yml2
-rw-r--r--spec/c/if/mkfifo.yml2
-rw-r--r--spec/c/if/mknod.yml2
-rw-r--r--spec/c/if/offsetof.yml2
-rw-r--r--spec/c/if/on-exit.yml2
-rw-r--r--spec/c/if/printf.yml2
-rw-r--r--spec/c/if/pthread-create.yml2
-rw-r--r--spec/c/if/pthread-setname-np.yml2
-rw-r--r--spec/c/if/pthread_setspecific.yml2
-rw-r--r--spec/c/if/readdir.yml2
-rw-r--r--spec/c/if/readlink.yml2
-rw-r--r--spec/c/if/rename.yml2
-rw-r--r--spec/c/if/rmnod.yml2
-rw-r--r--spec/c/if/sbrk.yml2
-rw-r--r--spec/c/if/sem_init.yml2
-rw-r--r--spec/c/if/sem_open.yml2
-rw-r--r--spec/c/if/symlink.yml2
-rw-r--r--spec/c/if/utime.yml2
33 files changed, 70 insertions, 4 deletions
diff --git a/spec/c/if/atexit.yml b/spec/c/if/atexit.yml
index 73d53f7f..2d2d8ee6 100644
--- a/spec/c/if/atexit.yml
+++ b/spec/c/if/atexit.yml
@@ -9,6 +9,8 @@ links:
uid: stdlib
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: atexit
references: []
type: interface
diff --git a/spec/c/if/chmod.yml b/spec/c/if/chmod.yml
index 7ffd205f..e696bf45 100644
--- a/spec/c/if/chmod.yml
+++ b/spec/c/if/chmod.yml
@@ -9,6 +9,8 @@ links:
uid: sys-stat
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: chmod
references: []
type: interface
diff --git a/spec/c/if/chown.yml b/spec/c/if/chown.yml
index 83780663..1eeb7801 100644
--- a/spec/c/if/chown.yml
+++ b/spec/c/if/chown.yml
@@ -9,6 +9,8 @@ links:
uid: sys-stat
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: chown
references: []
type: interface
diff --git a/spec/c/if/exit.yml b/spec/c/if/exit.yml
index 408a3da4..c5316095 100644
--- a/spec/c/if/exit.yml
+++ b/spec/c/if/exit.yml
@@ -9,6 +9,8 @@ links:
uid: stdlib
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: exit
references: []
type: interface
diff --git a/spec/c/if/flsl.yml b/spec/c/if/flsl.yml
index 366a737c..6ad2aab0 100644
--- a/spec/c/if/flsl.yml
+++ b/spec/c/if/flsl.yml
@@ -9,6 +9,8 @@ links:
uid: strings
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: flsl
references:
- identifier: https://www.freebsd.org/cgi/man.cgi?query=fls&sektion=3
diff --git a/spec/c/if/free.yml b/spec/c/if/free.yml
index b6b8958c..61a931f2 100644
--- a/spec/c/if/free.yml
+++ b/spec/c/if/free.yml
@@ -9,6 +9,8 @@ links:
uid: stdlib
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: free
references: []
type: interface
diff --git a/spec/c/if/getchar.yml b/spec/c/if/getchar.yml
index 4dbe0cc4..47a7613e 100644
--- a/spec/c/if/getchar.yml
+++ b/spec/c/if/getchar.yml
@@ -9,6 +9,8 @@ links:
uid: stdio
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: getchar
references:
- identifier: https://en.cppreference.com/w/c/io/getchar
diff --git a/spec/c/if/ioccom-io.yml b/spec/c/if/ioccom-io.yml
index 1d740bdd..614ac3cd 100644
--- a/spec/c/if/ioccom-io.yml
+++ b/spec/c/if/ioccom-io.yml
@@ -3,12 +3,14 @@ copyrights:
- Copyright (C) 2022 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
index-entries: []
-interface-type: unspecified-function
+interface-type: unspecified-macro
links:
- role: interface-placement
uid: sys-ioccom
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: _IO
references: []
type: interface
diff --git a/spec/c/if/ioccom-ior.yml b/spec/c/if/ioccom-ior.yml
index 856ee38b..e8a99642 100644
--- a/spec/c/if/ioccom-ior.yml
+++ b/spec/c/if/ioccom-ior.yml
@@ -3,12 +3,14 @@ copyrights:
- Copyright (C) 2022 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
index-entries: []
-interface-type: unspecified-function
+interface-type: unspecified-macro
links:
- role: interface-placement
uid: sys-ioccom
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: _IOR
references: []
type: interface
diff --git a/spec/c/if/ioccom-iow.yml b/spec/c/if/ioccom-iow.yml
index 2cbfbcbb..befaf2e3 100644
--- a/spec/c/if/ioccom-iow.yml
+++ b/spec/c/if/ioccom-iow.yml
@@ -3,12 +3,14 @@ copyrights:
- Copyright (C) 2022 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
index-entries: []
-interface-type: unspecified-function
+interface-type: unspecified-macro
links:
- role: interface-placement
uid: sys-ioccom
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: _IOW
references: []
type: interface
diff --git a/spec/c/if/ioccom-iowr.yml b/spec/c/if/ioccom-iowr.yml
index dadfeca8..fa5e3a5c 100644
--- a/spec/c/if/ioccom-iowr.yml
+++ b/spec/c/if/ioccom-iowr.yml
@@ -3,12 +3,14 @@ copyrights:
- Copyright (C) 2022 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
index-entries: []
-interface-type: unspecified-function
+interface-type: unspecified-macro
links:
- role: interface-placement
uid: sys-ioccom
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: _IOWR
references: []
type: interface
diff --git a/spec/c/if/ioctl.yml b/spec/c/if/ioctl.yml
index 45f8fe0d..2cebfc1b 100644
--- a/spec/c/if/ioctl.yml
+++ b/spec/c/if/ioctl.yml
@@ -9,6 +9,8 @@ links:
uid: sys-ioccom
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: ioctl
references: []
type: interface
diff --git a/spec/c/if/link.yml b/spec/c/if/link.yml
index e8cf9d23..dc5580df 100644
--- a/spec/c/if/link.yml
+++ b/spec/c/if/link.yml
@@ -9,6 +9,8 @@ links:
uid: sys-stat
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: link
references: []
type: interface
diff --git a/spec/c/if/malloc.yml b/spec/c/if/malloc.yml
index ca177933..07204980 100644
--- a/spec/c/if/malloc.yml
+++ b/spec/c/if/malloc.yml
@@ -9,6 +9,8 @@ links:
uid: stdlib
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: malloc
references: []
type: interface
diff --git a/spec/c/if/memcpy.yml b/spec/c/if/memcpy.yml
index 51019bc0..859be9d1 100644
--- a/spec/c/if/memcpy.yml
+++ b/spec/c/if/memcpy.yml
@@ -9,6 +9,8 @@ links:
uid: string
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: memcpy
references:
- identifier: https://en.cppreference.com/w/c/string/byte/memcpy
diff --git a/spec/c/if/memset.yml b/spec/c/if/memset.yml
index 8b2db0d8..c34cdcca 100644
--- a/spec/c/if/memset.yml
+++ b/spec/c/if/memset.yml
@@ -9,6 +9,8 @@ links:
uid: string
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: memset
references:
- identifier: https://en.cppreference.com/w/c/string/byte/memset
diff --git a/spec/c/if/mkfifo.yml b/spec/c/if/mkfifo.yml
index 62e3caf8..d8a3ba05 100644
--- a/spec/c/if/mkfifo.yml
+++ b/spec/c/if/mkfifo.yml
@@ -9,6 +9,8 @@ links:
uid: sys-stat
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: mkfifo
references: []
type: interface
diff --git a/spec/c/if/mknod.yml b/spec/c/if/mknod.yml
index 3ae57bc8..32b45a2d 100644
--- a/spec/c/if/mknod.yml
+++ b/spec/c/if/mknod.yml
@@ -9,6 +9,8 @@ links:
uid: sys-stat
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: mknod
references: []
type: interface
diff --git a/spec/c/if/offsetof.yml b/spec/c/if/offsetof.yml
index 89542a9a..543d1132 100644
--- a/spec/c/if/offsetof.yml
+++ b/spec/c/if/offsetof.yml
@@ -9,6 +9,8 @@ links:
uid: stddef
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: offsetof
references: []
type: interface
diff --git a/spec/c/if/on-exit.yml b/spec/c/if/on-exit.yml
index 558d855e..07f19cc3 100644
--- a/spec/c/if/on-exit.yml
+++ b/spec/c/if/on-exit.yml
@@ -9,6 +9,8 @@ links:
uid: stdlib
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: on_exit
references: []
type: interface
diff --git a/spec/c/if/printf.yml b/spec/c/if/printf.yml
index 2f6bd4a0..28ea37bc 100644
--- a/spec/c/if/printf.yml
+++ b/spec/c/if/printf.yml
@@ -9,6 +9,8 @@ links:
uid: stdio
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: printf
references: []
type: interface
diff --git a/spec/c/if/pthread-create.yml b/spec/c/if/pthread-create.yml
index a2a99436..376c176b 100644
--- a/spec/c/if/pthread-create.yml
+++ b/spec/c/if/pthread-create.yml
@@ -9,6 +9,8 @@ links:
uid: pthread
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: pthread_create
references:
- identifier: https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_create.html
diff --git a/spec/c/if/pthread-setname-np.yml b/spec/c/if/pthread-setname-np.yml
index d6f8d2f3..a46bde07 100644
--- a/spec/c/if/pthread-setname-np.yml
+++ b/spec/c/if/pthread-setname-np.yml
@@ -9,6 +9,8 @@ links:
uid: pthread
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: pthread_setname_np
references:
- identifier: http://man7.org/linux/man-pages/man3/pthread_setname_np.3.html
diff --git a/spec/c/if/pthread_setspecific.yml b/spec/c/if/pthread_setspecific.yml
index 1f61f649..22edccf8 100644
--- a/spec/c/if/pthread_setspecific.yml
+++ b/spec/c/if/pthread_setspecific.yml
@@ -9,6 +9,8 @@ links:
uid: pthread
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: pthread_setspecific
references: []
type: interface
diff --git a/spec/c/if/readdir.yml b/spec/c/if/readdir.yml
index ac3e2753..971b1f11 100644
--- a/spec/c/if/readdir.yml
+++ b/spec/c/if/readdir.yml
@@ -9,6 +9,8 @@ links:
uid: sys-stat
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: readdir
references: []
type: interface
diff --git a/spec/c/if/readlink.yml b/spec/c/if/readlink.yml
index 6b0c4fe7..60b2d079 100644
--- a/spec/c/if/readlink.yml
+++ b/spec/c/if/readlink.yml
@@ -9,6 +9,8 @@ links:
uid: sys-stat
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: readlink
references: []
type: interface
diff --git a/spec/c/if/rename.yml b/spec/c/if/rename.yml
index 3640c019..1211c14b 100644
--- a/spec/c/if/rename.yml
+++ b/spec/c/if/rename.yml
@@ -9,6 +9,8 @@ links:
uid: sys-stat
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: rename
references: []
type: interface
diff --git a/spec/c/if/rmnod.yml b/spec/c/if/rmnod.yml
index 2df9af21..741c2711 100644
--- a/spec/c/if/rmnod.yml
+++ b/spec/c/if/rmnod.yml
@@ -9,6 +9,8 @@ links:
uid: sys-stat
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: rmnod
references: []
type: interface
diff --git a/spec/c/if/sbrk.yml b/spec/c/if/sbrk.yml
index 8024aabd..7bd3c348 100644
--- a/spec/c/if/sbrk.yml
+++ b/spec/c/if/sbrk.yml
@@ -9,6 +9,8 @@ links:
uid: unistd
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: sbrk
references: []
type: interface
diff --git a/spec/c/if/sem_init.yml b/spec/c/if/sem_init.yml
index e23d5992..47935946 100644
--- a/spec/c/if/sem_init.yml
+++ b/spec/c/if/sem_init.yml
@@ -9,6 +9,8 @@ links:
uid: semaphore
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: sem_init
references: []
type: interface
diff --git a/spec/c/if/sem_open.yml b/spec/c/if/sem_open.yml
index fa566ea6..1d75c960 100644
--- a/spec/c/if/sem_open.yml
+++ b/spec/c/if/sem_open.yml
@@ -9,6 +9,8 @@ links:
uid: semaphore
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: sem_open
references: []
type: interface
diff --git a/spec/c/if/symlink.yml b/spec/c/if/symlink.yml
index a4c5a6b4..19caab30 100644
--- a/spec/c/if/symlink.yml
+++ b/spec/c/if/symlink.yml
@@ -9,6 +9,8 @@ links:
uid: sys-stat
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: symlink
references: []
type: interface
diff --git a/spec/c/if/utime.yml b/spec/c/if/utime.yml
index a1196663..19ca77a7 100644
--- a/spec/c/if/utime.yml
+++ b/spec/c/if/utime.yml
@@ -9,6 +9,8 @@ links:
uid: sys-stat
- role: interface-ingroup
uid: group
+- role: constraint
+ uid: /constraint/directive-not-pre-qualified
name: utime
references: []
type: interface