Commit 1b66353a authored by Benjamin Cabé's avatar Benjamin Cabé Committed by Anas Nashif
Browse files

samples: posix: use zephyr:code-sample directive



Describe the samples using code-sample directive in preparation for
upcoming changes to the Zephyr documentation that will be leveraging
the provided description and metadata.

Signed-off-by: default avatarBenjamin Cabé <benjamin@zephyrproject.org>
parent 9902eec0
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
.. _posix-env-sample:
.. zephyr:code-sample:: posix-env
   :name: Environment Variables

POSIX Environment Variables
###########################
   Manipulate environment variables from a Zephyr application.

Overview
********
+3 −3
Original line number Diff line number Diff line
.. _posix-eventfd-sample:
.. zephyr:code-sample:: posix-eventfd
   :name: eventfd()

POSIX eventfd()
###############
   Use ``eventfd()`` to create a file descriptor for event notification.

Overview
********
+3 −3
Original line number Diff line number Diff line
.. _posix-gettimeofday-sample:
.. zephyr:code-sample:: posix-gettimeofday
   :name: gettimeofday() with clock initialization

POSIX gettimeofday() with clock initialization over SNTP
########################################################
   Use ``gettimeofday()`` with clock initialization over SNTP.

Overview
********
+3 −3
Original line number Diff line number Diff line
.. _posix-philosophers-sample:
.. zephyr:code-sample:: posix-philosophers
   :name: POSIX Philosophers

POSIX Philosophers
##################
   Implement a solution to the Dining Philosophers problem using the POSIX API.

Overview
********
+3 −3
Original line number Diff line number Diff line
.. _posix-uname-sample:
.. zephyr:code-sample:: posix-uname
   :name: uname()

POSIX uname()
#############
   Use ``uname()`` to acquire system information and output it to the console.

Overview
********