[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
The use of register keyword in bash source code
From: |
Peng Yu |
Subject: |
The use of register keyword in bash source code |
Date: |
Wed, 6 Feb 2019 07:10:36 -0600 |
Hi,
I see many variables are declared with the "register" keyword. I know
its purpose is to tell compile always access the corresponding memory
without assuming the previously accessed values are preserved. This is
usually to deal with some external devices.
But I don't understand why it is useful in bash. Could anybody help
explain? Thanks.
--
Regards,
Peng
- The use of register keyword in bash source code,
Peng Yu <=