# rpmgetsymlink

(PECL rpminfo >= 1.1.0)

rpmgetsymlink — Get target of a symlink

### 说明

rpmgetsymlink(string `$path`, string `$name`): ?string

Get target of a symlink.

### 参数

`path`
  Path of the RPM file.
`name`
  Name of the symlink file.

### 返回值

A string with target of the symlink, `null` on error, or an empty string if not a symlink.

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open