
209 S.E.2d 366 (1974)
23 N.C. App. 418
Wesley S. FLEMING
v.
Flora O. MANN, Register of Deeds of Granville County, North Carolina, and Mary G. Chace.
No. 749SC692.
Court of Appeals of North Carolina.
November 6, 1974.
*367 Hugh M. Currin and James E. Cross, Jr., Oxford, for plaintiff appellant.
Watkins, Edmundson & Wilkinson by William T. Watkins and C. W. Wilkinson, Jr., Oxford, for defendant appellee Flora O. Mann.
Edwards & Manson by Daniel K. Edwards, Durham, for defendant appellee Mary G. Chace.
*368 PARKER, Judge.
Plaintiff has prayed for no especial relief against defendant Chace, and the only relief prayed for against defendant Register of Deed is for a writ of mandamus requiring her to expunge from the records in her office certain instruments recorded therein. The statutory authority for the special remedy of mandamus by civil action, formerly found in G.S. § 1-511 et seq., was repealed effective 1 January 1970, the effective date of our new Rules of Civil Procedure. Sec. 4, Ch. 954, 1967 Session Laws. "However, in this State, where the court exercises both legal and equitable jurisdiction, in a suit against a public official or board there is no practical difference in the results to be obtained by the common-law remedy of mandamus and the equitable remedy of mandatory injunction." Sutton v. Figgatt, 280 N.C. 89, 185 S.E.2d 97 (1971). Therefore, the remedy formerly provided by the writ of mandamus is still available, albeit the terminology may have changed, and the substantive grounds for granting the remedy as developed under our former practice still control. 2 McIntosh, N.C. Practice and Procedure, 2d Ed., § 2445 (Phillips, 1970 Pocket Parts).
"The writ of mandamus is an order from a court of competent jurisdiction to a board, corporation, inferior court, officer or person commanding the performance of a specified official duty imposed by law." Sutton v. Figgatt, supra. "It will lie only against a party under present legal obligation to perform the act sought to be enforced, and only at the instance of a party having a clear legal right to demand performance, and then only when there is no other adequate remedy available." 5 Strong, N.C. Index 2d, Mandamus, § 1, p. 291. Applying these principles to the case now before us, we find clear statutory duty imposed upon the Register of Deeds to record instruments properly presented to him for recording, but we find no similar duty imposed by statute to expunge any instrument from the records in his office. Plaintiff contends that such a duty must be found in the present case because, so plaintiff argues, the documents here in question were not such as the law authorized to be recorded and therefore the Register of Deeds was duty bound to expunge them. We do not agree.
The principal duties of the Register of Deeds are set forth in G.S. Chap. 161, Art. 2. Section 161-14(a) of that Article contains the clear mandate that "[t]he register of deeds shall immediately register all written instruments presented to him for registration," and there is little in other pertinent statutes to limit the all-inclusive scope of the words "all written instruments." G.S. § 161-22 refers to "instruments of writing required or authorized to be registered" and G.S. § 47-14(a) refers to "any instrument, required or permitted by law to be registered," but neither statute lists what instruments these may be. The Connor Act, G.S. § 47-18, and the statute relating to deeds of gift, G.S. § 47-26, provide that the instruments to which they apply must be registered in order to be fully valid. In that sense such instruments are "required" by law to be registered. Since any instrument required by law to be registered must of necessity be included in the category of instruments "authorized" or "permitted" by law to be registered, the latter category is much broader. G.S. § 47-1, which deals with acknowledgment and probate, provides an extensive list of documents to which that section applies, including "affidavits concerning land titles or family history, any instruments pertaining to real property, and any and all instruments and writings of whatever nature and kind which are required or allowed by law to be registered in the office of the register of deeds." From that section, it is clear that "affidavits concerning land titles or family history" and "any instruments pertaining to real property" are included among the documents "allowed by law to be registered." It may be legitimately argued that all of the documents involved in the present case are "instruments pertaining to real property" and *369 as such are included among those documents which are "allowed" or "authorized" or "permitted" by law to be registered. However that may be, it is certain that they were not so clearly excluded from that category that, once registered, the plaintiff had a clear legal right to require the Register of Deeds to expunge them. Absent such a clear legal right, plaintiff's action for writ of mandamus cannot be sustained.
Moreover, we point out that it is not the function of the Register of Deeds to inquire into the substance or the legal efficacy of the documents presented to him for recording. If they are properly acknowledged and probated and if the appropriate fee is tendered, it is his duty promptly to record and index them. The purposes of our recording statutes would be ill served if it were otherwise. Should it turn out in some case that the Register of Deeds recorded a document not "required or authorized" to be registered, that should be no concern of his. An unauthorized recorded document simply gives no constructive notice of its contents. Chandler v. Cameron, 229 N.C. 62, 47 S.E.2d 528 (1948).
Since mandamus will not lie, it remains for us to examine whether plaintiff's complaint can be sustained on any other basis. As previously noted, the only relief which plaintiff prayed for was issuance of the writ of mandamus. However, except in case of judgment entered by default, "every final judgment shall grant the relief to which the party in whose favor it is rendered is entitled, even if the party has not demanded such relief in his pleadings." G.S. 1A-1, Rule 54(c). Therefore, if the allegations in plaintiff's complaint are sufficient to show that he may be entitled to any relief in this action, even though not that which he requested, defendants' motion to dismiss should not have been granted. We have carefully examined plaintiff's complaint and find no grounds for granting relief. Although plaintiff alleged in his complaint that the three "letters" which defendant Chace had written and filed for recording had "created a cloud on the title of the plaintiff's said lands," none of the instruments of which plaintiff complains question the validity of or impose any encumbrances on his title. At most they express defendant Chace's question as to the correct location of the boundary line and express her desire to have the matter settled by a survey. If plaintiff obtained the full relief which he seeks, nothing would be settled thereby, as the correct location of the boundary line would remain in dispute. Plaintiff's remedy is by special proceeding under G.S., Chap. 38, not by civil action to quiet title or to expunge recorded instruments from the records.
Plaintiff's contention that Judge Bailey lacked authority to grant defendants' Rule 12(b)(6) motion to dismiss because Judge McLelland had previously denied the same motion is without merit. Following Judge McLelland's ruling, additional documents were recorded and plaintiff's complaint was supplemented. Judge Bailey was not passing upon the precise question which had previously been presented to Judge McLelland.
Finally, plaintiff contends that appellee Mann's oral motion to dismiss should have been disallowed because of her failure to state the number of the Rule of Civil Procedure under which she was moving. Both Chace and Mann were represented at the hearing on the motion by the same attorney. The name of Mann was omitted from the written motion filed 4 March 1974 to dismiss under Rule 12(b)(6). Judge Bailey found that this omission was inadvertent and allowed on oral motion Mann's name to be included in the motion to dismiss. This procedure was within the discretionary power of the trial court.
The judgment appealed from is
Affirmed.
CAMPBELL and VAUGHN, JJ., concur.
