GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

No menu could be recovered. Follow the blue links in the page.

This view

  • Original page
  • New address

GeezerVison is showing codebrowser.dev — array_size.h source code [linux/include/linux/array_size.h] - Codebrowser

Codebrowser logo
About
Contact
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _LINUX_ARRAY_SIZE_H
3#define _LINUX_ARRAY_SIZE_H
4
5#include <linux/compiler.h>
6
7/**
8 * ARRAY_SIZE - get the number of elements in array @arr
9 * @arr: array to be sized
10 */
11#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
12
13#endif /* _LINUX_ARRAY_SIZE_H */
14

source code of linux/include/linux/array_size.h

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.