[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <350cd156-9080-24fe-c49e-96e758d3ca45@web.de>
Date: Fri, 20 Dec 2019 14:30:10 +0100
From: Markus Elfring <Markus.Elfring@....de>
To: linux-doc@...r.kernel.org, kernel-janitors@...r.kernel.org
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: Improving documentation for programming interfaces
Hello,
Linux supports some programming interfaces. Several functions are provided
as usual. Their application documentation is an ongoing development challenge.
Now I would like to clarify possibilities for the specification of desired
information together with data types besides properties which are handled by
the programming language āCā so far.
It seems that no customised attributes are supported at the moment.
Thus I imagine to specify helpful annotations as macros.
Example:
Some functions allocate resources to which a pointer (or handle) is returned.
I would find it nice then if such a pointer would contain also the background
information by which functions the resource should usually be released.
Can it become easier to determine such data?
Regards,
Markus
Powered by blists - more mailing lists